mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
hexchat: Replace literalExample with literalExpression (#2410)
This commit is contained in:
parent
406eeec0b9
commit
da8a78eec9
1 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ let
|
||||||
commands = mkOption {
|
commands = mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = literalExample ''[ "ECHO Greetings fellow Nixer! ]'';
|
example = literalExpression ''[ "ECHO Greetings fellow Nixer! ]'';
|
||||||
description = "Commands to be executed on connecting to server.";
|
description = "Commands to be executed on connecting to server.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ in {
|
||||||
channels = mkOption {
|
channels = mkOption {
|
||||||
type = attrsOf modChannelOption;
|
type = attrsOf modChannelOption;
|
||||||
default = { };
|
default = { };
|
||||||
example = literalExample ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
freenode = {
|
freenode = {
|
||||||
autojoin = [
|
autojoin = [
|
||||||
|
@ -277,7 +277,7 @@ in {
|
||||||
settings = mkOption {
|
settings = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = nullOr (attrsOf str);
|
type = nullOr (attrsOf str);
|
||||||
example = literalExample ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
irc_nick1 = "mynick";
|
irc_nick1 = "mynick";
|
||||||
irc_username = "bob";
|
irc_username = "bob";
|
||||||
|
@ -320,7 +320,7 @@ in {
|
||||||
theme = mkOption {
|
theme = mkOption {
|
||||||
type = nullOr package;
|
type = nullOr package;
|
||||||
default = null;
|
default = null;
|
||||||
example = literalExample ''
|
example = literalExpression ''
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "hexchat-theme-MatriY";
|
name = "hexchat-theme-MatriY";
|
||||||
buildInputs = [ pkgs.unzip ];
|
buildInputs = [ pkgs.unzip ];
|
||||||
|
|
Loading…
Reference in a new issue