mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02: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
|
@ -146,7 +146,7 @@ class Store;
|
|||
enum RepairFlag : bool { NoRepair = false, Repair = true };
|
||||
|
||||
/* Write a derivation to the Nix store, and return its path. */
|
||||
StorePath writeDerivation(ref<Store> store,
|
||||
StorePath writeDerivation(Store & store,
|
||||
const Derivation & drv, RepairFlag repair = NoRepair);
|
||||
|
||||
/* Read a derivation from a file. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue