From c9c9abc60872e7f7facfe17489cfb5f8802aedd3 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Wed, 22 Mar 2023 16:19:36 +0100 Subject: [PATCH] openssh: fix 'undefined variable' error Signed-off-by: Christoph Heiss --- nixos/modules/services/networking/ssh/sshd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 095c7de0b7aa..5f225682b777 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -19,7 +19,7 @@ let else if true == v then "yes" else if false == v then "no" else if isList v then concatStringsSep "," v - else throw "unsupported type ${typeOf v}: ${(lib.generators.toPretty {}) v}"; + else throw "unsupported type ${builtins.typeOf v}: ${(lib.generators.toPretty {}) v}"; # dont use the "=" operator settingsFormat = (pkgs.formats.keyValue {