Nix : Use first package as a name for tmpshell.
This commit is contained in:
parent
a3d32583c0
commit
cc68c536b3
|
@ -83,7 +83,7 @@ function nix_tmpshell() {
|
|||
return 2
|
||||
fi
|
||||
|
||||
nix_shell="tmp" nix-shell -p ${pkgs}
|
||||
nix_shell="${1}" nix-shell -p ${pkgs}
|
||||
}
|
||||
alias tmpshell="nix_tmpshell"
|
||||
|
||||
|
|
Reference in a new issue