mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +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";
|
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 {
|
||||||
modules = [ self.darwinModules.simple ];
|
inherit system;
|
||||||
}).system;
|
modules = [ self.darwinModules.simple ];
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
simple = simple.system;
|
||||||
|
|
||||||
|
inherit (simple.config.system.build.manual)
|
||||||
|
optionsJSON
|
||||||
|
manualHTML
|
||||||
|
manpages;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue