mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 16:02:43 +01:00
Use Deferred when building an input-addressed drv
Easier than using dummy path with input addressed.
This commit is contained in:
parent
e433e42c5a
commit
8496be7def
2 changed files with 9 additions and 17 deletions
|
|
@ -201,9 +201,7 @@ static StorePath getDerivationEnvironment(ref<Store> store, ref<Store> evalStore
|
|||
}
|
||||
} else {
|
||||
for (auto & output : drv.outputs) {
|
||||
output.second = DerivationOutput::InputAddressed {
|
||||
.path = StorePath::dummy,
|
||||
};
|
||||
output.second = DerivationOutput::Deferred { };
|
||||
drv.env[output.first] = "";
|
||||
}
|
||||
auto h0 = hashDerivationModulo(*evalStore, drv, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue