From fcb79fd61964cd85a61747e318a3cda6e16aeecf Mon Sep 17 00:00:00 2001 From: Brendan Golden <1282303-Brendan_Golden@users.noreply.gitlab.com> Date: Sun, 29 Jan 2023 12:23:37 +0000 Subject: [PATCH 1/2] Fixed the command to use --- dev.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.nix b/dev.nix index e3cbc48..24bde12 100644 --- a/dev.nix +++ b/dev.nix @@ -1,4 +1,4 @@ -# run with nix dev.nix +# run with: nix-shell dev.nix # has everything installed for dev { pkgs ? import {} }: From 6b13511ba08b0b1c1cc55cfbbfdb8b52a4e6026f Mon Sep 17 00:00:00 2001 From: Brendan Golden <1282303-Brendan_Golden@users.noreply.gitlab.com> Date: Sun, 29 Jan 2023 12:41:01 +0000 Subject: [PATCH 2/2] ix: the path for this was wrong, was dep[endant on having it installed outside of nix --- dev.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.nix b/dev.nix index 24bde12..607e478 100644 --- a/dev.nix +++ b/dev.nix @@ -25,5 +25,5 @@ in mkShell { buildInputs = [ imports.agenix.agenix ]; - shellHook = ''export EDITOR="/usr/bin/nano"''; + shellHook = ''export EDITOR="${pkgs.nano}/bin/nano"''; } \ No newline at end of file