Use Deferred when building an input-addressed drv
Easier than using dummy path with input addressed.
This commit is contained in:
+1
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user