diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-02 18:24:11 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-02 18:24:11 +0200 |
commit | b5e42536977d84359f5fea3f42cfefdd46799eb1 (patch) | |
tree | 37b396a67c08106e57314d655376f8ab0b05e008 /src/nix | |
parent | a5b6e870fe9fb5ebf462c19963588d62f56d0f21 (diff) |
Fix abort in 'nix develop'
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/develop.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 037987313..289e3bed3 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -135,13 +135,7 @@ StorePath getDerivationEnvironment(ref<Store> store, const StorePath & drvPath) drv.inputSrcs.insert(std::move(getEnvShPath)); Hash h = hashDerivationModulo(*store, drv, true); auto shellOutPath = store->makeOutputPath("out", h, drvName); - drv.outputs.insert_or_assign("out", DerivationOutput { - .path = shellOutPath, - .hash = FixedOutputHash { - .method = FileIngestionMethod::Flat, - .hash = Hash { }, - }, - }); + drv.outputs.insert_or_assign("out", DerivationOutput { .path = shellOutPath }); drv.env["out"] = store->printStorePath(shellOutPath); auto shellDrvPath2 = writeDerivation(store, drv, drvName); |