From da8a78eec9f7adb57f9e961d1da64805efacff37 Mon Sep 17 00:00:00 2001 From: leifhelm <31693262+leifhelm@users.noreply.github.com> Date: Mon, 25 Oct 2021 02:59:22 +0200 Subject: [PATCH] hexchat: Replace literalExample with literalExpression (#2410) --- modules/programs/hexchat.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/programs/hexchat.nix b/modules/programs/hexchat.nix index 1b15406d..c0955aa6 100644 --- a/modules/programs/hexchat.nix +++ b/modules/programs/hexchat.nix @@ -66,7 +66,7 @@ let commands = mkOption { type = listOf str; default = [ ]; - example = literalExample ''[ "ECHO Greetings fellow Nixer! ]''; + example = literalExpression ''[ "ECHO Greetings fellow Nixer! ]''; description = "Commands to be executed on connecting to server."; }; @@ -237,7 +237,7 @@ in { channels = mkOption { type = attrsOf modChannelOption; default = { }; - example = literalExample '' + example = literalExpression '' { freenode = { autojoin = [ @@ -277,7 +277,7 @@ in { settings = mkOption { default = null; type = nullOr (attrsOf str); - example = literalExample '' + example = literalExpression '' { irc_nick1 = "mynick"; irc_username = "bob"; @@ -320,7 +320,7 @@ in { theme = mkOption { type = nullOr package; default = null; - example = literalExample '' + example = literalExpression '' stdenv.mkDerivation rec { name = "hexchat-theme-MatriY"; buildInputs = [ pkgs.unzip ];