parent
eeafec5103
commit
a3457d3f85
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue