mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
lib: deprecate mkPackageOptionMD
This commit is contained in:
parent
aeee4fc133
commit
77f6192786
@ -220,10 +220,10 @@ rec {
|
|||||||
(if isList example then "${pkgsText}." + concatStringsSep "." example else example);
|
(if isList example then "${pkgsText}." + concatStringsSep "." example else example);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Alias of mkPackageOption. Previously used to create options with markdown
|
/* Deprecated alias of mkPackageOption, to be removed in 25.05.
|
||||||
documentation, which is no longer required.
|
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.
|
/* This option accepts anything, but it does not produce any result.
|
||||||
|
|
||||||
|
@ -144,6 +144,8 @@
|
|||||||
not the `hare` package, should be added to `nativeBuildInputs` when building
|
not the `hare` package, should be added to `nativeBuildInputs` when building
|
||||||
Hare programs.
|
Hare programs.
|
||||||
|
|
||||||
|
- [`lib.options.mkPackageOptionMD`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOptionMD) is now obsolete; use the identical [`lib.options.mkPackageOption`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOption) instead.
|
||||||
|
|
||||||
- To facilitate dependency injection, the `imgui` package now builds a static archive using vcpkg' CMake rules.
|
- To facilitate dependency injection, the `imgui` package now builds a static archive using vcpkg' CMake rules.
|
||||||
The derivation now installs "impl" headers selectively instead of by a wildcard.
|
The derivation now installs "impl" headers selectively instead of by a wildcard.
|
||||||
Use `imgui.src` if you just want to access the unpacked sources.
|
Use `imgui.src` if you just want to access the unpacked sources.
|
||||||
|
Loading…
Reference in New Issue
Block a user