Merge pull request #207777 from lilyinstarlight/fix/nix-daemon-coercible

nixos/nix-daemon: fix isCoercibleToString typo
This commit is contained in:
figsoda
2022-12-25 21:40:08 -05:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ let
else if isDerivation v then toString v
else if builtins.isPath v then toString v
else if isString v then v
else if isCoercibleToString v then toString v
else if strings.isCoercibleToString v then toString v
else abort "The nix conf value: ${toPretty {} v} can not be encoded";
mkKeyValue = k: v: "${escape [ "=" ] k} = ${mkValueString v}";