From 7def7250bea58985ce8d9bbb9f5b567b4ad2a7e8 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sat, 24 Dec 2022 13:34:06 -0500 Subject: nixos/nix-daemon: fix isCoercibleToString typo It isn't exported at the top-level lib and needs to be qualified. --- nixos/modules/services/misc/nix-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"; -- cgit 1.4.1