mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
treewide: make sure meta.maintainers
evaluate
This fixes all bad maintainer values and add a CI step to validate that no bad values remain in the future. Closes #2587
This commit is contained in:
commit
2f40cd05dc
19 changed files with 51 additions and 15 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
/modules/programs/go.nix @rvolosatovs
|
/modules/programs/go.nix @rvolosatovs
|
||||||
|
|
||||||
/modules/programs/hexchat.nix @superherointj @thiagokokada
|
/modules/programs/hexchat.nix @thiagokokada
|
||||||
/tests/modules/programs/hexchat @thiagokokada
|
/tests/modules/programs/hexchat @thiagokokada
|
||||||
|
|
||||||
/modules/programs/himalaya.nix @ambroisie
|
/modules/programs/himalaya.nix @ambroisie
|
||||||
|
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
||||||
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
|
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
- run: nix-build -A docs.jsonModuleMaintainers
|
||||||
- run: ./format -c
|
- run: ./format -c
|
||||||
- run: nix-shell . -A install
|
- run: nix-shell . -A install
|
||||||
- run: nix-shell --arg enableBig false --pure tests -A run.all
|
- run: nix-shell --arg enableBig false --pure tests -A run.all
|
||||||
|
|
|
@ -5,6 +5,7 @@ rec {
|
||||||
html = manual.html;
|
html = manual.html;
|
||||||
manPages = manPages;
|
manPages = manPages;
|
||||||
json = options.json;
|
json = options.json;
|
||||||
|
jsonModuleMaintainers = jsonModuleMaintainers; # Unstable, mainly for CI.
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
||||||
|
|
|
@ -117,4 +117,14 @@ in {
|
||||||
manPages = docs.manPages;
|
manPages = docs.manPages;
|
||||||
|
|
||||||
manual = { inherit (docs) html htmlOpenTool; };
|
manual = { inherit (docs) html htmlOpenTool; };
|
||||||
|
|
||||||
|
# Unstable, mainly for CI.
|
||||||
|
jsonModuleMaintainers = pkgs.writeText "hm-module-maintainers.json" (let
|
||||||
|
result = lib.evalModules {
|
||||||
|
modules = import ../modules/modules.nix {
|
||||||
|
inherit lib pkgs;
|
||||||
|
check = false;
|
||||||
|
} ++ [ scrubbedPkgsModule ];
|
||||||
|
};
|
||||||
|
in builtins.toJSON result.config.meta.maintainers);
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,4 +145,28 @@
|
||||||
github = "onny";
|
github = "onny";
|
||||||
githubId = 757752;
|
githubId = 757752;
|
||||||
};
|
};
|
||||||
|
aheaume = {
|
||||||
|
name = "aheaume";
|
||||||
|
email = "aheaume@users.noreply.github.com";
|
||||||
|
github = "aheaume";
|
||||||
|
githubId = 13830042;
|
||||||
|
};
|
||||||
|
t4ccer = {
|
||||||
|
name = "t4ccer";
|
||||||
|
email = "t4ccer@users.noreply.github.com";
|
||||||
|
github = "t4ccer";
|
||||||
|
githubId = 64430288;
|
||||||
|
};
|
||||||
|
nurelin = {
|
||||||
|
name = "nurelin";
|
||||||
|
email = "nurelin@users.noreply.github.com";
|
||||||
|
github = "nurelin";
|
||||||
|
githubId = 5276274;
|
||||||
|
};
|
||||||
|
pltanton = {
|
||||||
|
name = "pltanton";
|
||||||
|
email = "plotnikovanton@gmail.com";
|
||||||
|
github = "pltanton";
|
||||||
|
githubId = 4561823;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,7 +147,7 @@ let
|
||||||
extraDesktopEntries = config.settings;
|
extraDesktopEntries = config.settings;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
meta.maintainers = with maintainers; [ cwyc ];
|
meta.maintainers = [ hm.maintainers.cwyc ];
|
||||||
|
|
||||||
options.xdg.desktopEntries = mkOption {
|
options.xdg.desktopEntries = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -15,7 +15,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.aheaume ];
|
meta.maintainers = [ hm.maintainers.aheaume ];
|
||||||
|
|
||||||
options.programs.broot = {
|
options.programs.broot = {
|
||||||
enable = mkEnableOption "Broot, a better way to navigate directories";
|
enable = mkEnableOption "Broot, a better way to navigate directories";
|
||||||
|
|
|
@ -15,7 +15,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.kalhauge ];
|
meta.maintainers = [ hm.maintainers.kalhauge ];
|
||||||
|
|
||||||
options.programs.exa = {
|
options.programs.exa = {
|
||||||
enable =
|
enable =
|
||||||
|
|
|
@ -229,7 +229,7 @@ let
|
||||||
]);
|
]);
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = with maintainers; [ superherointj thiagokokada ];
|
meta.maintainers = with maintainers; [ thiagokokada ];
|
||||||
|
|
||||||
options.programs.hexchat = with types; {
|
options.programs.hexchat = with types; {
|
||||||
enable = mkEnableOption "HexChat, a graphical IRC client";
|
enable = mkEnableOption "HexChat, a graphical IRC client";
|
||||||
|
|
|
@ -89,7 +89,7 @@ let
|
||||||
blank = text "Blank";
|
blank = text "Blank";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.bjpbakker ];
|
meta.maintainers = [ hm.maintainers.bjpbakker ];
|
||||||
|
|
||||||
options.programs.htop = {
|
options.programs.htop = {
|
||||||
enable = mkEnableOption "htop";
|
enable = mkEnableOption "htop";
|
||||||
|
|
|
@ -11,7 +11,7 @@ let
|
||||||
inherit (pkgs.stdenv.hostPlatform) isDarwin;
|
inherit (pkgs.stdenv.hostPlatform) isDarwin;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.kalhauge ];
|
meta.maintainers = [ hm.maintainers.kalhauge ];
|
||||||
|
|
||||||
options.programs.lazygit = {
|
options.programs.lazygit = {
|
||||||
enable = mkEnableOption "lazygit, a simple terminal UI for git commands";
|
enable = mkEnableOption "lazygit, a simple terminal UI for git commands";
|
||||||
|
|
|
@ -44,7 +44,7 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = with maintainers; [ olmokramer ];
|
meta.maintainers = [ hm.maintainers.olmokramer ];
|
||||||
|
|
||||||
options.programs.ncmpcpp = {
|
options.programs.ncmpcpp = {
|
||||||
enable =
|
enable =
|
||||||
|
|
|
@ -55,5 +55,5 @@ in {
|
||||||
xdg.configFile."xmobar/.xmobarrc".text = cfg.extraConfig;
|
xdg.configFile."xmobar/.xmobarrc".text = cfg.extraConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta.maintainers = with maintainers; [ t4ccer ];
|
meta.maintainers = [ hm.maintainers.t4ccer ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,7 @@ let
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
||||||
meta.maintainers = [ maintainers.nurelin ];
|
meta.maintainers = [ hm.maintainers.nurelin ];
|
||||||
|
|
||||||
options.services.kanshi = {
|
options.services.kanshi = {
|
||||||
enable = mkEnableOption
|
enable = mkEnableOption
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
meta.maintainers = [ maintainers.pltanton ];
|
meta.maintainers = [ hm.maintainers.pltanton ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.pasystray = { enable = mkEnableOption "PulseAudio system tray"; };
|
services.pasystray = { enable = mkEnableOption "PulseAudio system tray"; };
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
cfg = config.services.playerctld;
|
cfg = config.services.playerctld;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.fendse ];
|
meta.maintainers = [ hm.maintainers.fendse ];
|
||||||
|
|
||||||
options.services.playerctld = {
|
options.services.playerctld = {
|
||||||
enable = mkEnableOption "playerctld daemon";
|
enable = mkEnableOption "playerctld daemon";
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
cfg = config.services.status-notifier-watcher;
|
cfg = config.services.status-notifier-watcher;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.pltanton ];
|
meta.maintainers = [ hm.maintainers.pltanton ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.status-notifier-watcher = {
|
services.status-notifier-watcher = {
|
||||||
|
|
|
@ -100,7 +100,7 @@ let
|
||||||
cfg = config.services.trayer;
|
cfg = config.services.trayer;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.mager ];
|
meta.maintainers = [ hm.maintainers.mager ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.trayer = {
|
services.trayer = {
|
||||||
|
|
|
@ -5,7 +5,7 @@ with lib;
|
||||||
let cfg = config.services.wlsunset;
|
let cfg = config.services.wlsunset;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.matrss ];
|
meta.maintainers = [ hm.maintainers.matrss ];
|
||||||
|
|
||||||
options.services.wlsunset = {
|
options.services.wlsunset = {
|
||||||
enable = mkEnableOption "Whether to enable wlsunset.";
|
enable = mkEnableOption "Whether to enable wlsunset.";
|
||||||
|
|
Loading…
Reference in a new issue