diff options
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/cli.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix index 14417b0..5ef2cfe 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -78,7 +78,13 @@ }; functions = { fish_greeting = ""; - ns = "eval nix shell nixpkgs#\\{(string join \",\" $argv)\\}"; + ns = '' + set -l p + for a in $argv + set p $p "nixpkgs#$a" + end + nix shell $p + ''; }; }; neovim = { |