diff options
| -rw-r--r-- | modules/examples/lnl.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 8a3729f..3db37bf 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -82,8 +82,8 @@ let 'i'|'instantiate') nix-instantiate -E "with import <nixpkgs> {}; $@" ;; 'r'|'repl') nix-repl '<nixpkgs>' ;; 's'|'shell') nix-shell -E "with import <nixpkgs> {}; $@" ;; - 'p'|'package') nix-shell '<nixpkgs>' -p "$@" --run ${pkgs.lnl.zsh} ;; - 'z'|'zsh') nix-shell '<nixpkgs>' -E "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh} ;; + 'p'|'package') nix-shell '<nixpkgs>' -p "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;; + 'z'|'zsh') nix-shell '<nixpkgs>' -E "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;; esac } |
