mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #990 from nklmilojevic/master
chore: remove mkpackageoptionmd deprecation
This commit is contained in:
commit
ec12b88104
3 changed files with 5 additions and 5 deletions
|
@ -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" {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue