summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix8
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 = {