diff options
| author | Robert Hensing <robert@roberthensing.nl> | 2022-12-28 23:38:06 +0100 |
|---|---|---|
| committer | Robert Hensing <robert@roberthensing.nl> | 2022-12-31 01:03:24 +0100 |
| commit | fed5dc66f80ae3a159a2449904ae067f60a04a67 (patch) | |
| tree | 29abdf5af503b692fdd96d90f452ef4c241a40ed /lib/strings.nix | |
| parent | lib.strings: Rename isCoercibleToString -> isMoreCoercibleToString (diff) | |
| download | nixpkgs-fed5dc66f80ae3a159a2449904ae067f60a04a67.tar.gz | |
treewide: isCoercibleToString -> isMoreCoercibleToString
No change in behavior.
Diffstat (limited to 'lib/strings.nix')
| -rw-r--r-- | lib/strings.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index 897fa3e3a204..6d2462d03b2a 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -810,7 +810,7 @@ rec { */ isMoreCoercibleToString = x: elem (typeOf x) [ "path" "string" "null" "int" "float" "bool" ] || - (isList x && lib.all isCoercibleToString x) || + (isList x && lib.all isMoreCoercibleToString x) || x ? outPath || x ? __toString; |
