diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-23 15:00:25 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-23 15:01:11 +0000 |
commit | 35e6288be1a2384a29caccd64d88a6b623e6c033 (patch) | |
tree | df5cb1473e7b6b228331030273a80555ffd3a1e6 /src/nix | |
parent | 4d77513d97775c05b19b0676a76fcdd3d00bea8b (diff) |
`writeDerivation` just needs a plain store reference
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/develop.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 9aaa80822..8a14e45c9 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -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}}); |