nixos/nix-daemon: fix isCoercibleToString typo

It isn't exported at the top-level lib and needs to be qualified.
This commit is contained in:
Lily Foster 2022-12-24 13:34:06 -05:00
parent 0f4a3ff83f
commit 7def7250be
No known key found for this signature in database
GPG key ID: 49340081E484C893

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}";