Skip to content

Commit

Permalink
makeScope: prevent name collision with makeOverridable
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Apr 28, 2017
1 parent 2716e5b commit 901a778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/customisation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 901a778

Please sign in to comment.