lib: Use lib.fixed-points.extends to avoid repetition
This commit is contained in:
parent
0299641c91
commit
48ccdf322d
|
@ -202,7 +202,7 @@ rec {
|
||||||
callPackage = self.newScope {};
|
callPackage = self.newScope {};
|
||||||
overrideScope = g:
|
overrideScope = g:
|
||||||
makeScope newScope
|
makeScope newScope
|
||||||
(self_: let super = f self_; in super // g super self_);
|
(lib.fixed-points.extends f g);
|
||||||
packages = f;
|
packages = f;
|
||||||
};
|
};
|
||||||
in self;
|
in self;
|
||||||
|
|
Loading…
Reference in New Issue