flake/packages: exclude docs from packages on darwin

This commit is contained in:
Gaetan Lepage 2024-01-06 15:39:36 +01:00 committed by Gaétan Lepage
parent ef3b3f3bbb
commit 782f2d6150
2 changed files with 23 additions and 26 deletions

View file

@ -7,7 +7,9 @@
...
}: {
packages = let
docs = {
# Do not check if documentation builds fine on darwin as it fails:
# > sandbox-exec: pattern serialization length 69298 exceeds maximum (65535)
docs = pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
docs = pkgsUnfree.callPackage (import ../docs) {
inherit modules;
};