From 61873010f9869210d8598554ca5186103ff2f38a Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Wed, 8 Nov 2023 16:38:49 +0000 Subject: Source nix shell script so that nix works in current active session --- install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install b/install index b3265ce..81ba6c7 100644 --- a/install +++ b/install @@ -2,3 +2,7 @@ # Install nix curl -L https://nixos.org/nix/install | sh -s -- --daemon + +if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then + . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' +fi -- cgit v1.2.3-13-gbd6f