mirror of
https://github.com/NixOS/nix
synced 2025-07-04 11:21:47 +02:00
* Canonicalise ASTs in `nix-instantiate --eval': remove position
info, sort attribute sets.
This commit is contained in:
parent
05879db628
commit
f23dcdd603
7 changed files with 49 additions and 5 deletions
|
@ -45,7 +45,7 @@ static void printResult(EvalState & state, Expr e,
|
|||
if (xmlOutput)
|
||||
printTermAsXML(e, std::cout, context);
|
||||
else
|
||||
std::cout << format("%1%\n") % e;
|
||||
std::cout << format("%1%\n") % canonicaliseExpr(e);
|
||||
|
||||
else {
|
||||
DrvInfos drvs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue