summaryrefslogtreecommitdiffstats
path: root/lib/trivial.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-04-25 14:55:52 +0200
committerGitHub <noreply@github.com>2017-04-25 14:55:52 +0200
commita502e327d383695546b09be47535d43b4829944d (patch)
tree47f4fe4c17aca5292d197a8be56ec65e89eac8f5 /lib/trivial.nix
parentb5530755a53eb4e22384d05f5b2fb7a0a9b1e584 (diff)
parenta8fc60745f26a2b33650821414772ad047e48b62 (diff)
Merge pull request #25201 from ebzzry/fix-typo
Fix typo in trivial.nix
Diffstat (limited to 'lib/trivial.nix')
-rw-r--r--lib/trivial.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix
index 735aa55e0dce..cec28b1a22b1 100644
--- a/lib/trivial.nix
+++ b/lib/trivial.nix
@@ -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;