![]() The build log of the following won't output `foo` as one might expect, but the `$PATH` set by stdenv. ```nix with import <nixpkgs> {}; runCommand "foo" { PATH = "foo"; } "echo $PATH; touch $out" ``` |
||
---|---|---|
.. | ||
test | ||
default.nix | ||
test-overriding.nix |
![]() The build log of the following won't output `foo` as one might expect, but the `$PATH` set by stdenv. ```nix with import <nixpkgs> {}; runCommand "foo" { PATH = "foo"; } "echo $PATH; touch $out" ``` |
||
---|---|---|
.. | ||
test | ||
default.nix | ||
test-overriding.nix |