1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-16 13:28:16 +00:00

flake.nix: add checks for the docs

Except for `manualEpub`, which is going away.
This commit is contained in:
Emily 2023-06-21 22:32:19 +01:00
parent b6893e7f6d
commit f8c61f0098

View file

@ -33,9 +33,18 @@
description = "nix flake init -t nix-darwin"; description = "nix flake init -t nix-darwin";
}; };
checks.x86_64-darwin.simple = (self.lib.darwinSystem { checks = nixpkgs.lib.genAttrs ["aarch64-darwin" "x86_64-darwin"] (system: let
system = "x86_64-darwin"; simple = self.lib.darwinSystem {
inherit system;
modules = [ self.darwinModules.simple ]; modules = [ self.darwinModules.simple ];
}).system; };
in {
simple = simple.system;
inherit (simple.config.system.build.manual)
optionsJSON
manualHTML
manpages;
});
}; };
} }