mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
flake.nix: add checks for the docs
Except for `manualEpub`, which is going away.
This commit is contained in:
parent
b6893e7f6d
commit
f8c61f0098
1 changed files with 13 additions and 4 deletions
17
flake.nix
17
flake.nix
|
@ -33,9 +33,18 @@
|
|||
description = "nix flake init -t nix-darwin";
|
||||
};
|
||||
|
||||
checks.x86_64-darwin.simple = (self.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
modules = [ self.darwinModules.simple ];
|
||||
}).system;
|
||||
checks = nixpkgs.lib.genAttrs ["aarch64-darwin" "x86_64-darwin"] (system: let
|
||||
simple = self.lib.darwinSystem {
|
||||
inherit system;
|
||||
modules = [ self.darwinModules.simple ];
|
||||
};
|
||||
in {
|
||||
simple = simple.system;
|
||||
|
||||
inherit (simple.config.system.build.manual)
|
||||
optionsJSON
|
||||
manualHTML
|
||||
manpages;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue