buildPython*: support fixed-point arguments (#271387)

This commit is contained in:
Martin Weinelt
2026-01-04 20:51:07 +00:00
committed by GitHub
3 changed files with 105 additions and 105 deletions
@@ -23,7 +23,11 @@ let
origArgs:
let
result = f origArgs;
overrideWith = newArgs: origArgs // lib.toFunction newArgs origArgs;
overrideWith =
if lib.isFunction origArgs then
newArgs: lib.extends (_: lib.toFunction newArgs) origArgs
else
newArgs: origArgs // lib.toFunction newArgs origArgs;
in
if lib.isAttrs result then
result