mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
Update
This commit is contained in:
parent
bd93aa6e0e
commit
9ff54ac634
|
|
@ -82,8 +82,8 @@ in
|
||||||
config = let
|
config = let
|
||||||
|
|
||||||
cliArgs = (flatten (mapAttrsToList (n: v:
|
cliArgs = (flatten (mapAttrsToList (n: v:
|
||||||
if v == null then []
|
if v == null then []
|
||||||
else if isBool v then [ "${optionalString v "--"n}" ]
|
#else if isBool v then [ "--${optionalString (!v) "no-"}${n}" ]
|
||||||
else if isInt v then [ "--${n}" "${toString v}" ]
|
else if isInt v then [ "--${n}" "${toString v}" ]
|
||||||
else if isFloat v then [ "--${n}" "${floatToString v}" ]
|
else if isFloat v then [ "--${n}" "${floatToString v}" ]
|
||||||
else if isString v then ["--${n}" v ]
|
else if isString v then ["--${n}" v ]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue