From 18c3fd151346760ef596d0506bc517af704993da Mon Sep 17 00:00:00 2001 From: Eman Resu Date: Wed, 14 Oct 2026 23:46:08 -0400 Subject: [PATCH] lib/customisation/makeOverridable: inline key mirrorArgs call Prevents a merge. --- lib/customisation.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/customisation.nix b/lib/customisation.nix index a7ec126bfe35..b6c00d9ab8d1 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -211,12 +211,12 @@ rec { if isAttrs f then # Preserve additional attributes for f f - // (mirrorArgs f') - # Decorate f.override if presented // { + __functor = self: f'; + __functionArgs = fArgs; + # Decorate f.override if presented ${if f ? override then "override" else null} = fdrv: makeOverridable (f.override fdrv); } - else mirrorArgs f';