1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

flake: add docs to packages output

This commit is contained in:
Samuel Gräfenstein 2021-09-18 04:33:20 +02:00 committed by Robert Helgesson
parent 7cb118c9d2
commit 4320399a3e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -18,8 +18,13 @@
darwinModules.home-manager = import ./nix-darwin;
darwinModule = self.darwinModules.home-manager;
packages = forAllSystems (system: {
packages = forAllSystems (system:
let docs = import ./docs { pkgs = nixpkgsFor.${system}; };
in {
home-manager = nixpkgsFor.${system}.callPackage ./home-manager { };
docs-html = docs.manual.html;
docs-manpages = docs.manPages;
docs-json = docs.options.json;
});
defaultPackage =