From c86be3ca3dcd5ee0675bf465b3d7adc5dfcee083 Mon Sep 17 00:00:00 2001 From: lily Date: Wed, 23 Apr 2025 18:13:49 -0400 Subject: [PATCH] fix(nix): add missing targets to `flake.nix` --- flake.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 101719c..f6f029f 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,7 @@ (import rust-overlay) ]; }; - + nativeBuildInputs = with pkgs; [ vulkan-tools vulkan-tools-lunarg @@ -61,7 +61,7 @@ packages = { inherit (pkgs) zenyx; default = pkgs.zenyx; - windows = let + windows = let pkgsCross = import nixpkgs { system = "x86_64-linux"; crossSystem = nixpkgs.lib.systems.examples.mingwW64; @@ -74,8 +74,14 @@ nativeBuildInputs = with pkgs; [ (rust-bin.stable.latest.default.override { extensions = ["rust-src" "cargo" "rustfmt" "clippy"]; - targets = [ "x86_64-pc-windows-msvc" "x86_64-unknown-linux-gnu" ]; - + targets = [ + "x86_64-pc-windows-msvc" + "x86_64-unknown-linux-gnu" + "x86_64-apple-darwin" + "aarch64-pc-windows-msvc" + "aarch64-unknown-linux-gnu" + "aarch64-apple-darwin" + ]; }) pkg-config ] ++ nativeBuildInputs;