diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-13T16·17+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-13T16·17+0000 |
commit | f23dcdd60330c3b2f83b5b4278e38c245c397468 (patch) | |
tree | 0c0386b4b42d7974dff18e93485fdda7b9ad71eb /src/nix-instantiate | |
parent | 05879db628a31f53c69a0fc29311c840c80837e0 (diff) |
* Canonicalise ASTs in `nix-instantiate --eval': remove position
info, sort attribute sets.
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index ffd8a2e71f40..41015c0eee54 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -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; |