Merge pull request #84860 from matthewbauer/fix-79651
generic/setup.sh: allow clobbering env-vars file
This commit is contained in:
commit
3fb4b17de5
@ -779,7 +779,7 @@ substituteAllInPlace() {
|
|||||||
# the environment used for building.
|
# the environment used for building.
|
||||||
dumpVars() {
|
dumpVars() {
|
||||||
if [ "${noDumpEnvVars:-0}" != 1 ]; then
|
if [ "${noDumpEnvVars:-0}" != 1 ]; then
|
||||||
export > "$NIX_BUILD_TOP/env-vars" || true
|
export >| "$NIX_BUILD_TOP/env-vars" || true
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user