1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-08-16 08:00:34 +03:00

chore: remove mkpackageoptionmd deprecation

This commit is contained in:
Nikola Milojević 2024-07-01 16:24:41 +02:00
parent 50581970f3
commit e00896468a
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ in {
integration. integration.
''; '';
package = lib.mkPackageOptionMD pkgs "direnv" {}; package = lib.mkPackageOption pkgs "direnv" {};
direnvrcExtra = lib.mkOption { direnvrcExtra = lib.mkOption {
type = lib.types.lines; type = lib.types.lines;
@ -52,7 +52,7 @@ in {
default = true; default = true;
}; };
package = lib.mkPackageOptionMD pkgs "nix-direnv" {}; package = lib.mkPackageOption pkgs "nix-direnv" {};
}; };
}; };

View File

@ -199,7 +199,7 @@ with lib;
default = { }; default = { };
}; };
package = mkPackageOptionMD pkgs "github-runner" { }; package = mkPackageOption pkgs "github-runner" { };
ephemeral = mkOption { ephemeral = mkOption {
type = types.bool; type = types.bool;

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let 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; cfg = config.services.sketchybar;
@ -17,7 +17,7 @@ in
options.services.sketchybar = { options.services.sketchybar = {
enable = mkEnableOption "sketchybar"; enable = mkEnableOption "sketchybar";
package = mkPackageOptionMD pkgs "sketchybar" { }; package = mkPackageOption pkgs "sketchybar" { };
extraPackages = mkOption { extraPackages = mkOption {
type = types.listOf types.package; type = types.listOf types.package;