[Meta] remove references to deprecated lib.mdDoc

It is the default since 24.05.
This commit is contained in:
Antoine Viallon 2024-11-12 20:26:42 +01:00
parent c500db4bcd
commit 69ee53452d
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
3 changed files with 5 additions and 5 deletions

View file

@ -78,7 +78,7 @@ in
cacheLine = mkOption { cacheLine = mkOption {
default = null; default = null;
example = 64; example = 64;
description = lib.mdDoc "Cache-line size in bytes (can be retrieved using `/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size`)"; description = "Cache-line size in bytes (can be retrieved using `/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size`)";
type = with types; nullOr ints.positive; type = with types; nullOr ints.positive;
}; };
}; };

View file

@ -73,7 +73,7 @@ in
hostName = mkOption { hostName = mkOption {
type = types.str; type = types.str;
example = "luke-skywalker-nixos"; example = "luke-skywalker-nixos";
description = lib.mdDoc '' description = ''
Builder's host name Builder's host name
''; '';
}; };
@ -94,7 +94,7 @@ in
threads = mkOption { threads = mkOption {
type = with types; addCheck ints.unsigned (n: n >= config.cores); type = with types; addCheck ints.unsigned (n: n >= config.cores);
example = 16; example = 16;
description = lib.mdDoc "How many physical _threads_ the builder has."; description = "How many physical _threads_ the builder has.";
}; };
x86ver = mkOption { x86ver = mkOption {
default = 1; default = 1;

View file

@ -67,7 +67,7 @@ in {
level = "slower"; level = "slower";
}; };
example = { level = "unsafe"; recursive = 0; }; example = { level = "unsafe"; recursive = 0; };
description = mdDoc "Specify default options passed to optimizePkg"; description = "Specify default options passed to optimizePkg";
}; };
optimizePkg = mkOption { optimizePkg = mkOption {
default = if cfg.enable then optimizePkg else ({...}: pkg: pkg); default = if cfg.enable then optimizePkg else ({...}: pkg: pkg);
@ -102,7 +102,7 @@ in {
cmake = pkgs.my-cmake-override; cmake = pkgs.my-cmake-override;
} }
''; '';
description = mdDoc "Allow overriding packages found in `nativeBuildInputs` with custom packages."; description = "Allow overriding packages found in `nativeBuildInputs` with custom packages.";
}; };
}; };