summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2022-12-24 13:34:06 -0500
committerLily Foster <lily@lily.flowers>2022-12-24 13:34:06 -0500
commit7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8 (patch)
tree875437ac733024e9825522266faccf1b4e656f4f /nixos/modules/services/misc/nix-daemon.nix
parent0f4a3ff83f5d754b062a558dc430d89083d02e00 (diff)
downloadnixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar.gz
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar.bz2
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar.lz
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar.xz
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.tar.zst
nixpkgs-7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8.zip
nixos/nix-daemon: fix isCoercibleToString typo
It isn't exported at the top-level lib and needs to be qualified.
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-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 f9f0736efcb..f46c3ef097f 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}";