From c4c9ce3880217ee178fcf23395a843700c0b27e8 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 19 Sep 2024 17:49:50 +0200 Subject: [PATCH] Add colmena to shell.nix, add lorri envrc --- .envrc | 9 +++++++++ shell.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..82b2b9e --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# the shebang is ignored, but nice for editors + +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi diff --git a/shell.nix b/shell.nix index 11f6f30..cc59e64 100644 --- a/shell.nix +++ b/shell.nix @@ -2,5 +2,6 @@ pkgs.mkShell { packages = with pkgs; [ hcloud + colmena ]; }