about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-25 21:40:08 -0500
committerGitHub <noreply@github.com>2022-12-25 21:40:08 -0500
commit6175aaa7d2ee65f59807f1f37d43e2121f443cd3 (patch)
treec18d67e6a479fde659b452b3cde899e75f4ddef8
parent5259cc3e7c8e4bbf415c3cf99b0d22624687538d (diff)
parent7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8 (diff)
Merge pull request #207777 from lilyinstarlight/fix/nix-daemon-coercible
nixos/nix-daemon: fix isCoercibleToString typo
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index f9f0736efcb99..f46c3ef097f89 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -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}";