From 48ccdf322d9e7a68d0caf5833511ee3e53ec7d3a Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 6 Jul 2018 16:17:54 -0400 Subject: [PATCH] lib: Use lib.fixed-points.extends to avoid repetition --- lib/customisation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;