diff options
author | Robert Helgesson <robert@rycee.net> | 2019-08-28 00:12:28 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-08-28 00:14:22 +0200 |
commit | 55b71223d404040ed2416a9e80d7f522fbd7048d (patch) | |
tree | 79664083f74729e6998e3167c088cedfd1ee2ce2 /modules/services/window-managers/xmonad.nix | |
parent | db86bd6c013d3434159885d0987e5b48d8b7b141 (diff) |
Fix option `defaultText` when referencing packages
By using `literalExample` the documentation will show the option
default without surrounding quotes.
Diffstat (limited to '')
-rw-r--r-- | modules/services/window-managers/xmonad.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/window-managers/xmonad.nix b/modules/services/window-managers/xmonad.nix index 5b64963b6ef..6b3426b963b 100644 --- a/modules/services/window-managers/xmonad.nix +++ b/modules/services/window-managers/xmonad.nix @@ -24,7 +24,7 @@ in haskellPackages = mkOption { default = pkgs.haskellPackages; - defaultText = "pkgs.haskellPackages"; + defaultText = literalExample "pkgs.haskellPackages"; example = literalExample "pkgs.haskell.packages.ghc784"; description = '' The <varname>haskellPackages</varname> used to build xmonad |