mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Meta] remove references to deprecated lib.mdDoc
It is the default since 24.05.
This commit is contained in:
parent
c500db4bcd
commit
69ee53452d
3 changed files with 5 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ in
|
|||
cacheLine = mkOption {
|
||||
default = null;
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ in
|
|||
hostName = mkOption {
|
||||
type = types.str;
|
||||
example = "luke-skywalker-nixos";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Builder's host name
|
||||
'';
|
||||
};
|
||||
|
|
@ -94,7 +94,7 @@ in
|
|||
threads = mkOption {
|
||||
type = with types; addCheck ints.unsigned (n: n >= config.cores);
|
||||
example = 16;
|
||||
description = lib.mdDoc "How many physical _threads_ the builder has.";
|
||||
description = "How many physical _threads_ the builder has.";
|
||||
};
|
||||
x86ver = mkOption {
|
||||
default = 1;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ in {
|
|||
level = "slower";
|
||||
};
|
||||
example = { level = "unsafe"; recursive = 0; };
|
||||
description = mdDoc "Specify default options passed to optimizePkg";
|
||||
description = "Specify default options passed to optimizePkg";
|
||||
};
|
||||
optimizePkg = mkOption {
|
||||
default = if cfg.enable then optimizePkg else ({...}: pkg: pkg);
|
||||
|
|
@ -102,7 +102,7 @@ in {
|
|||
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.";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue