From 55b71223d404040ed2416a9e80d7f522fbd7048d Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 28 Aug 2019 00:12:28 +0200 Subject: Fix option `defaultText` when referencing packages By using `literalExample` the documentation will show the option default without surrounding quotes. --- modules/services/status-notifier-watcher.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services/status-notifier-watcher.nix') 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."; -- cgit v1.2.3