modules/invoiceplane: cherry-pick changes from nixpkgs

This commit is contained in:
teutat3s 2024-11-05 14:26:59 +01:00
parent 23b2009c29
commit 2afe36eacb
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -68,7 +68,7 @@ let
if isString v then if isString v then
escapeShellArg v escapeShellArg v
# NOTE: If any value contains a , (comma) this will not get escaped # NOTE: If any value contains a , (comma) this will not get escaped
else if isList v && any lib.strings.isCoercibleToString v then else if isList v && lib.strings.isConvertibleWithToString v then
escapeShellArg (concatMapStringsSep "," toString v) escapeShellArg (concatMapStringsSep "," toString v)
else if isInt v then else if isInt v then
toString v toString v