Merge pull request #84860 from matthewbauer/fix-79651

generic/setup.sh: allow clobbering env-vars file
This commit is contained in:
Matthew Bauer 2020-04-11 01:50:42 -04:00 committed by GitHub
commit 3fb4b17de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -779,7 +779,7 @@ substituteAllInPlace() {
# the environment used for building.
dumpVars() {
if [ "${noDumpEnvVars:-0}" != 1 ]; then
export > "$NIX_BUILD_TOP/env-vars" || true
export >| "$NIX_BUILD_TOP/env-vars" || true
fi
}