Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b1ffe5e4c029c9f5675bcc42997413fd1b21fbf1
https://github.com/NixOS/nixpkgs/commit/b1ffe5e4c029c9f5675bcc42997413fd1b21fbf1
Author: Profpatsch <m...@profpatsch.de>
Date: 2017-06-22 (Thu, 22 Jun 2017)
Changed paths:
M lib/generators.nix
M lib/tests/misc.nix
Log Message:
-----------
lib/generators: toPretty
`toPretty` implements a pretty printer for nix values.
Commit: feb8cbdc38c6b10b2c66a96151d8d560e960c29f
https://github.com/NixOS/nixpkgs/commit/feb8cbdc38c6b10b2c66a96151d8d560e960c29f
Author: Profpatsch <m...@profpatsch.de>
Date: 2017-06-22 (Thu, 22 Jun 2017)
Changed paths:
M lib/debug.nix
Log Message:
-----------
lib/debug: traceSeqN & traceSeqValN
Strict trace functions that only go down to a specified depth.
Handy to get a better picture and prevent infinite recursions.
Commit: 5cbc6ca9bb63f939dab2c2c82a63d72f1f30d9b7
https://github.com/NixOS/nixpkgs/commit/5cbc6ca9bb63f939dab2c2c82a63d72f1f30d9b7
Author: Profpatsch <m...@profpatsch.de>
Date: 2017-06-22 (Thu, 22 Jun 2017)
Changed paths:
M lib/generators.nix
M lib/tests/misc.nix
Log Message:
-----------
lib/generators: put more information in toPretty lambdas
With `builtins.functionArgs` we can get some information if the first argument
is an attrset and whether the contained fields have default values. Encode that
into the pretty-printed lambda.
Compare: https://github.com/NixOS/nixpkgs/compare/dd3f2e648a6e...5cbc6ca9bb63
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits