1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-18 00:12:43 +01:00

Fix DerivationOutputExtensional name

This commit is contained in:
Matthew Bauer 2020-07-09 11:37:18 -04:00
parent 06a4e15478
commit a7884970c5
4 changed files with 8 additions and 8 deletions

View file

@ -135,7 +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 { .output = DerivationOutputIntensional {
drv.outputs.insert_or_assign("out", DerivationOutput { .output = DerivationOutputExtensional {
.path = shellOutPath
} });
drv.env["out"] = store->printStorePath(shellOutPath);