Nix : Use first package as a name for tmpshell.

This commit is contained in:
Dmitry Voronin 2024-01-29 02:53:42 +03:00
parent a3d32583c0
commit cc68c536b3

View file

@ -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"