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

writeDerivation just needs a plain store reference

This commit is contained in:
John Ericson 2020-08-23 15:00:25 +00:00
parent 4d77513d97
commit 35e6288be1
4 changed files with 7 additions and 7 deletions

View file

@ -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. */