about summary refs log tree commit diff
path: root/lib/options.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-30 14:15:36 +0200
committerpennae <github@quasiparticle.net>2022-08-31 17:27:37 +0200
commite04a09082e33d444c245e1d5859b37ace25f54a9 (patch)
treed35dffec69202fa504047c39a4ad9f121eb881e5 /lib/options.nix
parentf2ea09ecbe1fa1da32eaa6e036d64ac324a2986f (diff)
lib/modules: convert option description to MD
Diffstat (limited to 'lib/options.nix')
-rw-r--r--lib/options.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/options.nix b/lib/options.nix
index b6376796dbaca..a56e579ab84da 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -137,7 +137,7 @@ rec {
       let default' = if !isList default then [ default ] else default;
       in mkOption {
         type = lib.types.package;
-        description = "The ${name} package to use.";
+        description = lib.mdDoc "The ${name} package to use.";
         default = attrByPath default'
           (throw "${concatStringsSep "." default'} cannot be found in pkgs") pkgs;
         defaultText = literalExpression ("pkgs." + concatStringsSep "." default');