lib: Use lib.fixed-points.extends to avoid repetition

This commit is contained in:
John Ericson
2018-07-09 12:33:43 -04:00
parent 0299641c91
commit 48ccdf322d
+1 -1
View File
@@ -202,7 +202,7 @@ rec {
callPackage = self.newScope {};
overrideScope = g:
makeScope newScope
(self_: let super = f self_; in super // g super self_);
(lib.fixed-points.extends f g);
packages = f;
};
in self;