nixos/dolibarr: lib.any -> lib.elem

This commit is contained in:
h7x4 2025-10-24 13:16:20 +09:00
commit b827f37cb8
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146

View file

@ -6,9 +6,9 @@
}:
let
inherit (lib)
any
boolToString
concatStringsSep
elem
isBool
isString
mapAttrsToList
@ -46,7 +46,7 @@ let
toStr =
k: v:
if (any (str: k == str) secretKeys) then
if (elem k secretKeys) then
v
else if isString v then
"'${v}'"