Properly set the output env variables
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
2cf591a134
commit
ce674cb2cf
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ StorePath getDerivationEnvironment(ref<Store> store, const StorePath & drvPath)
|
||||||
output.second = {
|
output.second = {
|
||||||
.output = DerivationOutputDeferred{},
|
.output = DerivationOutputDeferred{},
|
||||||
};
|
};
|
||||||
drv.env[output.first] = "";
|
drv.env[output.first] = hashPlaceholder(output.first);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (auto & output : drv.outputs) {
|
for (auto & output : drv.outputs) {
|
||||||
|
|
Loading…
Reference in a new issue