diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-04-25 07:30:15 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-04-28 05:54:30 -0500 |
commit | 901a778c7744b25013168dde1a2a548ad531fd78 (patch) | |
tree | 61de39f08c3b3bb4498b252cf068f1ca0f9328de /lib/customisation.nix | |
parent | 2716e5bd80878cb5c4cf47ed2424e644dc8a62cf (diff) |
makeScope: prevent name collision with makeOverridable
Diffstat (limited to 'lib/customisation.nix')
-rw-r--r-- | lib/customisation.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/customisation.nix b/lib/customisation.nix index 4853290db542..cf28137cb8a2 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -177,7 +177,7 @@ rec { let self = f self // { newScope = scope: newScope (self // scope); callPackage = self.newScope {}; - override = g: + overrideScope = g: makeScope newScope (self_: let super = f self_; in super // g super self_); packages = f; |