mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
Don't register extra primops twice
This was the result of a bad merge.
This commit is contained in:
parent
96874f418d
commit
7f6efe93e4
1 changed files with 0 additions and 6 deletions
|
|
@ -5028,12 +5028,6 @@ void EvalState::createBaseEnv(const EvalSettings & evalSettings)
|
||||||
addPrimOp(std::move(primOpAdjusted));
|
addPrimOp(std::move(primOpAdjusted));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto & primOp : evalSettings.extraPrimOps) {
|
|
||||||
auto primOpAdjusted = primOp;
|
|
||||||
primOpAdjusted.arity = std::max(primOp.args.size(), primOp.arity);
|
|
||||||
addPrimOp(std::move(primOpAdjusted));
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Add a wrapper around the derivation primop that computes the
|
/* Add a wrapper around the derivation primop that computes the
|
||||||
`drvPath' and `outPath' attributes lazily.
|
`drvPath' and `outPath' attributes lazily.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue