diff --git a/lib/customisation.nix b/lib/customisation.nix index 6667b36f4c51..a7ec126bfe35 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -172,7 +172,7 @@ rec { This function was provided by `lib.makeOverridable`. */ - newArgs: makeOverridable f (origArgs // (if isFunction newArgs then newArgs origArgs else newArgs)) + newArgs: f' (origArgs // (if isFunction newArgs then newArgs origArgs else newArgs)) ); in if isAttrs result then