diff --git a/lib/customisation.nix b/lib/customisation.nix index d942f54ee79..9017319420c 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -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;