From dae0095a4e734cdee9550a22676c7e97773acdb3 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 10 Dec 2016 15:22:07 +0100 Subject: [PATCH] fix zsh path in nix aliasd --- modules/examples/lnl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 8a3729f1..3db37bfd 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -82,8 +82,8 @@ let 'i'|'instantiate') nix-instantiate -E "with import {}; $@" ;; 'r'|'repl') nix-repl '' ;; 's'|'shell') nix-shell -E "with import {}; $@" ;; - 'p'|'package') nix-shell '' -p "$@" --run ${pkgs.lnl.zsh} ;; - 'z'|'zsh') nix-shell '' -E "with import {}; $@" --run ${pkgs.lnl.zsh} ;; + 'p'|'package') nix-shell '' -p "with import {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;; + 'z'|'zsh') nix-shell '' -E "with import {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;; esac }