forked from mirrors/nixpkgs
lib.makeScope: Save package set function
This commit is contained in:
parent
e21b5da630
commit
b39e491eb5
|
@ -177,9 +177,10 @@ rec {
|
|||
let self = f self // {
|
||||
newScope = scope: newScope (self // scope);
|
||||
callPackage = self.newScope {};
|
||||
override = g: makeScope newScope (self_:
|
||||
let super = f self_;
|
||||
in super // g super self_);
|
||||
override = g:
|
||||
makeScope newScope
|
||||
(self_: let super = f self_; in super // g super self_);
|
||||
packages = f;
|
||||
};
|
||||
in self;
|
||||
|
||||
|
|
Loading…
Reference in a new issue