mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 00:12:43 +01:00
writeDerivation just needs a plain store reference
This commit is contained in:
parent
4d77513d97
commit
35e6288be1
4 changed files with 7 additions and 7 deletions
|
|
@ -138,7 +138,7 @@ StorePath getDerivationEnvironment(ref<Store> store, const StorePath & drvPath)
|
|||
.path = shellOutPath
|
||||
} });
|
||||
drv.env["out"] = store->printStorePath(shellOutPath);
|
||||
auto shellDrvPath2 = writeDerivation(store, drv);
|
||||
auto shellDrvPath2 = writeDerivation(*store, drv);
|
||||
|
||||
/* Build the derivation. */
|
||||
store->buildPaths({{shellDrvPath2}});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue