diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-03-08 10:13:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 10:13:39 +0100 |
commit | 1c0e3e453d41b869e4ac7e25dc1c00c349a7c411 (patch) | |
tree | c3df7ef4bb153733e195f9880addb4db2c3a2073 /src | |
parent | 8ce2045ecc86dd0c8aa91937c423a48b723eaf2d (diff) | |
parent | 6e849e3b0a6eb46e6dc65cbd091cc829eab09a5f (diff) |
Merge pull request #4601 from lovesegfault/fix-4598
nix-build: check that envCommand exists
Diffstat (limited to 'src')
-rwxr-xr-x | src/nix-build/nix-build.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index 7b4a53919..65b85b304 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -447,6 +447,7 @@ static void main_nix_build(int argc, char * * argv) "unset NIX_ENFORCE_PURITY; " "shopt -u nullglob; " "unset TZ; %6%" + "shopt -s execfail;" "%7%", shellEscape(tmpDir), (pure ? "" : "p=$PATH; "), |