3
0
Fork 0
forked from mirrors/nixpkgs

Fix typo in trivial.nix

This commit is contained in:
Rommel Martinez 2017-04-25 14:36:22 +08:00
parent 76b8ce3023
commit a8fc60745f

View file

@ -38,7 +38,7 @@ rec {
/* Merge two attribute sets shallowly, right side trumps left
Example:
mergeAttrs { a = 1; b = 2; } // { b = 3; c = 4; }
mergeAttrs { a = 1; b = 2; } { b = 3; c = 4; }
=> { a = 1; b = 3; c = 4; }
*/
mergeAttrs = x: y: x // y;