diff options
author | éclairevoyant | 2024-06-26 23:11:19 -0400 |
---|---|---|
committer | éclairevoyant | 2024-06-26 23:14:45 -0400 |
commit | 77f61927863bf01e6262fdb724b0aa1654f38b3f (patch) | |
tree | 3bc47399c59dad5dff6041ad1bd8c9e6620d98d1 /lib | |
parent | aeee4fc133c2e2f4d0d88bb3c6ff9f1947f4d697 (diff) |
lib: deprecate mkPackageOptionMD
Diffstat (limited to 'lib')
-rw-r--r-- | lib/options.nix | 6 |
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. |