diff --git a/src/nix/eval.cc b/src/nix/eval.cc index d880bef0a7b..1d78b8dbd58 100644 --- a/src/nix/eval.cc +++ b/src/nix/eval.cc @@ -72,6 +72,11 @@ struct CmdEval : MixJSON, InstallableValueCommand, MixReadOnlyOption v = vRes; } + auto autoArgs = getAutoArgs(*state); + auto valPost = state->allocValue(); + state->autoCallFunction(*autoArgs, *v, *valPost); + v = valPost; + if (writeTo) { stopProgressBar();