nix: add NIX_BUILD_SHELL
This is useful to avoid having nix-shell evaluate nixpkgs twice.
This commit is contained in:
parent
1305bc0290
commit
e58ed5052b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ let
|
||||||
Cmd = [ "/bin/bash" ];
|
Cmd = [ "/bin/bash" ];
|
||||||
Env = [
|
Env = [
|
||||||
"ENV=/etc/profile.d/nix.sh"
|
"ENV=/etc/profile.d/nix.sh"
|
||||||
|
"NIX_BUILD_SHELL=/bin/bash"
|
||||||
"NIX_PATH=nixpkgs=${toString <nixpkgs>}"
|
"NIX_PATH=nixpkgs=${toString <nixpkgs>}"
|
||||||
"PAGER=cat"
|
"PAGER=cat"
|
||||||
"PATH=/usr/bin:/bin"
|
"PATH=/usr/bin:/bin"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue