diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-03-18 02:07:31 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-03-18 14:59:56 +0000 |
commit | 8496be7defed3584c9fcd3b5d905fb84a9515d6f (patch) | |
tree | e4d2995f05530a531232d434ebfe94f15f9f1ed5 /src/nix/develop.cc | |
parent | e433e42c5aa869c499d6289a121299bbd72fd160 (diff) |
Use Deferred when building an input-addressed drv
Easier than using dummy path with input addressed.
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r-- | src/nix/develop.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 6baf539c3..d2f9b5a6a 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -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); |