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 }