Skip to content

Commit

Permalink
fix: replace mkPackageOptionMD w/ mkPackageOption
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Peón <[email protected]>

Fix these:

warning: mkPackageOptionMD is deprecated and will be removed in 25.05; please use mkPackageOption.

Since the nixpkgs project moved from DocBook to MarkDown, they dropped
the MD from this function.
  • Loading branch information
panchoh committed Jul 3, 2024
1 parent 9e900d7 commit b542b11
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nix/autofirma/hm-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with lib; let
in {
options.programs.autofirma = {
enable = mkEnableOption "Autofirma";
package = mkPackageOptionMD inputs.self.packages.${system} "autofirma" {};
package = mkPackageOption inputs.self.packages.${system} "autofirma" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/autofirma/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ in {
options.programs.autofirma = {
enable = mkEnableOption "Autofirma";
fixJavaCerts = mkEnableOption "Fix Java certificates";
package = mkPackageOptionMD inputs.self.packages.${system} "autofirma" {};
package = mkPackageOption inputs.self.packages.${system} "autofirma" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/configuradorfnmt/hm-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with lib; let
in {
options.programs.configuradorfnmt = {
enable = mkEnableOption "configuradorfnmt";
package = mkPackageOptionMD inputs.self.packages.${system} "configuradorfnmt" {};
package = mkPackageOption inputs.self.packages.${system} "configuradorfnmt" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/configuradorfnmt/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with lib; let
in {
options.programs.configuradorfnmt = {
enable = mkEnableOption "configuradorfnmt";
package = mkPackageOptionMD inputs.self.packages.${system} "configuradorfnmt" {};
package = mkPackageOption inputs.self.packages.${system} "configuradorfnmt" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/dnieremote/hm-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with lib; let
in {
options.programs.dnieremote = {
enable = mkEnableOption "DNIeRemote";
package = mkPackageOptionMD inputs.self.packages.${system} "dnieremote" {};
package = mkPackageOption inputs.self.packages.${system} "dnieremote" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/dnieremote/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ with lib; let
in {
options.programs.dnieremote = {
enable = mkEnableOption "DNIeRemote";
package = mkPackageOptionMD inputs.self.packages.${system} "dnieremote" {};
package = mkPackageOption inputs.self.packages.${system} "dnieremote" {};
finalPackage = mkOption {
type = types.package;
readOnly = true;
Expand Down

0 comments on commit b542b11

Please sign in to comment.