mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
lib/customisation/makeOverridable: reuse the function implicitly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user