diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index bd4168a44..6b5c33806 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -5028,12 +5028,6 @@ void EvalState::createBaseEnv(const EvalSettings & evalSettings) 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 `drvPath' and `outPath' attributes lazily.