diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-17 10:28:33 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-17 10:28:33 -0400 |
commit | 5cb840541b2dc52c187424fd46ed2f46dcb6314f (patch) | |
tree | fb63982acf9876bc691e67a9fe548101206775b2 /src/nix/develop.cc | |
parent | 745a03cef5977e3474dcf8ef43cb721a6a7cac8e (diff) | |
parent | bf9f040112c33213910faef40077122f1932d462 (diff) |
Merge branch 'multi-output-hashDerivationModulo' of github.com:Ericson2314/nix into misc-ca
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r-- | src/nix/develop.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 2f590f53f..43b86c64c 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -135,7 +135,7 @@ StorePath getDerivationEnvironment(ref<Store> store, const StorePath & drvPath) drv.env["_outputs_saved"] = drv.env["outputs"]; drv.env["outputs"] = "out"; drv.inputSrcs.insert(std::move(getEnvShPath)); - Hash h = hashDerivationModulo(*store, drv, true); + Hash h = std::get<0>(hashDerivationModulo(*store, drv, true)); auto shellOutPath = store->makeOutputPath("out", h, drvName); drv.outputs.insert_or_assign("out", DerivationOutput { .output = DerivationOutputInputAddressed { .path = shellOutPath |