diff --git a/flake.nix b/flake.nix index c4b1230c9db14469a1b1fe6f1e4a66c8cea4e5bf..da23d8e50608be36d22b689610a171a3a972f8a3 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,11 @@ inputs.flake-utils.url = "github:numtide/flake-utils"; outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + # don't include darwin because some packages are broken for darwin + # and we would like to use `nix flake check` (and packages that are + # marked broken will abort before it does checks for the other archs) + let systems = [ "aarch64-linux" "x86_64-linux" ]; in + flake-utils.lib.eachSystem systems (system: let pkgs = nixpkgs.legacyPackages.${system}; prev = pkgs; in { # see https://discourse.nixos.org/t/add-python-package-via-overlay/19783/4 @@ -74,7 +78,7 @@ openscad xorg.xorgserver xvfb-run - blender + (if blender.meta.unsupported then null else blender) git imagemagick librsvg