Skip to content
Snippets Groups Projects
Commit 2a0320b8 authored by Benjamin Koch's avatar Benjamin Koch
Browse files

exclude darwin to fix `nix flake check`

parent 6d4e6c17
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, 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 let pkgs = nixpkgs.legacyPackages.${system}; prev = pkgs; in
{ {
# see https://discourse.nixos.org/t/add-python-package-via-overlay/19783/4 # see https://discourse.nixos.org/t/add-python-package-via-overlay/19783/4
...@@ -74,7 +78,7 @@ ...@@ -74,7 +78,7 @@
openscad openscad
xorg.xorgserver xorg.xorgserver
xvfb-run xvfb-run
blender (if blender.meta.unsupported then null else blender)
git git
imagemagick imagemagick
librsvg librsvg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment