aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-09 20:32:35 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-10 01:35:59 +0000
commitbcd0629c2e499788e4b3a9d6e380143a8f807419 (patch)
tree9ef24cb730b406de397b11e31acc6b4a09197503 /src/libexpr/primops.cc
parentedfd676e059578fb574ce78d1a2cc66d018d3b16 (diff)
Remove name parameter from `writeDerivation`
The name is now stored with the derivation itself.
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 65d36ca0e..3955287b7 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -839,7 +839,7 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * *
}
/* Write the resulting term into the Nix store directory. */
- auto drvPath = writeDerivation(state.store, drv, drvName, state.repair);
+ auto drvPath = writeDerivation(state.store, drv, state.repair);
auto drvPathS = state.store->printStorePath(drvPath);
printMsg(lvlChatty, "instantiated '%1%' -> '%2%'", drvName, drvPathS);