Merge "Print derivation paths in nix eval" into main

This commit is contained in:
jade 2024-03-10 16:12:32 -06:00 committed by Gerrit Code Review
commit 6432bf9197

View file

@ -120,8 +120,17 @@ struct CmdEval : MixJSON, InstallableValueCommand, MixReadOnlyOption
} }
else { else {
state->forceValueDeep(*v); logger->cout(
logger->cout("%s", ValuePrinter(*state, *v, PrintOptions { .force = true })); "%s",
ValuePrinter(
*state,
*v,
PrintOptions {
.force = true,
.derivationPaths = true
}
)
);
} }
} }
}; };