From 2a0320b8c0c74539ced213c818f33f63a666a1ba Mon Sep 17 00:00:00 2001 From: Benjamin Koch <bbbsnowball@gmail.com> Date: Mon, 29 May 2023 18:13:57 +0200 Subject: [PATCH] exclude darwin to fix `nix flake check` --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c4b1230..da23d8e 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 -- GitLab