From fdcccad60499bb0599303664dd9e1c2472812a0d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 15 May 2016 23:23:14 +0200 Subject: syntax --- custom/uucp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index 7035b934..57a5c23e 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -15,7 +15,7 @@ let time Any port ${name} chat "" - protocol ${if config.services.uucp.protocols ? name then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} + protocol ${if builtins.hasAttr name config.services.uucp.protocols then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} command-path ${concatStringsSep " " config.services.uucp.commandPath} commands ${concatStringsSep " " (if builtins.hasAttr name config.services.uucp.commands then config.services.uucp.commands."${name}" else config.services.uucp.defaultCommands)} ''; -- cgit v1.2.3