diff --git a/lib/customisation.nix b/lib/customisation.nix index 9017319420c..d942f54ee79 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -202,7 +202,7 @@ rec { callPackage = self.newScope {}; overrideScope = g: makeScope newScope - (lib.fixed-points.extends f g); + (self_: let super = f self_; in super // g super self_); packages = f; }; in self;