Merge pull request #25201 from ebzzry/fix-typo

Fix typo in trivial.nix
gstqt5
Peter Simons 2017-04-25 14:55:52 +02:00 committed by GitHub
commit a502e327d3
1 changed files with 1 additions and 1 deletions

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;