writeDerivation just needs a plain store reference

This commit is contained in:
John Ericson
2020-08-23 15:01:11 +00:00
parent 4d77513d97
commit 35e6288be1
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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}});