1
0
Fork 0
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:
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";
};
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;
});
};
}