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/status-notifier-watcher.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 'modules/services/status-notifier-watcher.nix')
-rw-r--r-- | modules/services/status-notifier-watcher.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/status-notifier-watcher.nix b/modules/services/status-notifier-watcher.nix index 08c668bf050..8a2ded8720a 100644 --- a/modules/services/status-notifier-watcher.nix +++ b/modules/services/status-notifier-watcher.nix @@ -17,7 +17,7 @@ in package = mkOption { default = pkgs.haskellPackages.status-notifier-item; - defaultText = "pkgs.haskellPackages.status-notifier-item"; + defaultText = literalExample "pkgs.haskellPackages.status-notifier-item"; type = types.package; example = literalExample "pkgs.haskellPackages.status-notifier-item"; description = "The package to use for the status notifier watcher binary."; |