From 69ee53452db857a188aceb316ec998533de5bc47 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Tue, 12 Nov 2024 20:26:42 +0100 Subject: [PATCH] [Meta] remove references to deprecated lib.mdDoc It is the default since 24.05. --- general.nix | 2 +- nix/builder.nix | 4 ++-- optimizations/optimizations.nix | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/general.nix b/general.nix index 6172411..408afd3 100644 --- a/general.nix +++ b/general.nix @@ -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; }; }; diff --git a/nix/builder.nix b/nix/builder.nix index 9742cfb..9962d2e 100644 --- a/nix/builder.nix +++ b/nix/builder.nix @@ -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; diff --git a/optimizations/optimizations.nix b/optimizations/optimizations.nix index 45c4e60..4f6f820 100644 --- a/optimizations/optimizations.nix +++ b/optimizations/optimizations.nix @@ -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."; }; };