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
+1 -1
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
}