mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/dolibarr: lib.any -> lib.elem
This commit is contained in:
parent
6992ef3a7f
commit
b827f37cb8
1 changed files with 2 additions and 2 deletions
|
|
@ -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}'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue