about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authoréclairevoyant2024-06-26 23:11:19 -0400
committeréclairevoyant2024-06-26 23:14:45 -0400
commit77f61927863bf01e6262fdb724b0aa1654f38b3f (patch)
tree3bc47399c59dad5dff6041ad1bd8c9e6620d98d1 /lib
parentaeee4fc133c2e2f4d0d88bb3c6ff9f1947f4d697 (diff)
lib: deprecate mkPackageOptionMD
Diffstat (limited to 'lib')
-rw-r--r--lib/options.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/options.nix b/lib/options.nix
index 7e64e6e510fb..f4d0d9d36cfc 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -220,10 +220,10 @@ rec {
           (if isList example then "${pkgsText}." + concatStringsSep "." example else example);
       });
 
-  /* Alias of mkPackageOption. Previously used to create options with markdown
-     documentation, which is no longer required.
+  /* Deprecated alias of mkPackageOption, to be removed in 25.05.
+     Previously used to create options with markdown documentation, which is no longer required.
   */
-  mkPackageOptionMD = mkPackageOption;
+  mkPackageOptionMD = lib.warn "mkPackageOptionMD is deprecated and will be removed in 25.05; please use mkPackageOption." mkPackageOption;
 
   /* This option accepts anything, but it does not produce any result.