mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
nix: add NIX_BUILD_SHELL
This is useful to avoid having nix-shell evaluate nixpkgs twice.
This commit is contained in:
@@ -45,6 +45,7 @@ let
|
||||
Cmd = [ "/bin/bash" ];
|
||||
Env = [
|
||||
"ENV=/etc/profile.d/nix.sh"
|
||||
"NIX_BUILD_SHELL=/bin/bash"
|
||||
"NIX_PATH=nixpkgs=${toString <nixpkgs>}"
|
||||
"PAGER=cat"
|
||||
"PATH=/usr/bin:/bin"
|
||||
|
||||
Reference in New Issue
Block a user