forked from lix-project/lix
Merge "Print derivation paths in nix eval
" into main
This commit is contained in:
commit
6432bf9197
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue