Skip to content

Commit

Permalink
chore: remove mkpackageoptionmd deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
nklmilojevic authored and kamushadenes committed Jul 8, 2024
1 parent c7456f1 commit 8230679
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/programs/direnv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in {
integration.
'';

package = lib.mkPackageOptionMD pkgs "direnv" {};
package = lib.mkPackageOption pkgs "direnv" {};

direnvrcExtra = lib.mkOption {
type = lib.types.lines;
Expand Down Expand Up @@ -52,7 +52,7 @@ in {
default = true;
};

package = lib.mkPackageOptionMD pkgs "nix-direnv" {};
package = lib.mkPackageOption pkgs "nix-direnv" {};
};
};

Expand Down
2 changes: 1 addition & 1 deletion modules/services/github-runner/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ with lib;
default = { };
};

package = mkPackageOptionMD pkgs "github-runner" { };
package = mkPackageOption pkgs "github-runner" { };

ephemeral = mkOption {
type = types.bool;
Expand Down
4 changes: 2 additions & 2 deletions modules/services/sketchybar/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:

let
inherit (lib) literalExpression maintainers mkEnableOption mkIf mkPackageOptionMD mkOption optionals types;
inherit (lib) literalExpression maintainers mkEnableOption mkIf mkPackageOption mkOption optionals types;

cfg = config.services.sketchybar;

Expand All @@ -17,7 +17,7 @@ in
options.services.sketchybar = {
enable = mkEnableOption "sketchybar";

package = mkPackageOptionMD pkgs "sketchybar" { };
package = mkPackageOption pkgs "sketchybar" { };

extraPackages = mkOption {
type = types.listOf types.package;
Expand Down

0 comments on commit 8230679

Please sign in to comment.