makeScope: prevent name collision with makeOverridable

This commit is contained in:
Thomas Tuegel 2017-04-25 07:30:15 -05:00
parent 2716e5bd80
commit 901a778c77
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -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;