fix(nix): add missing targets to flake.nix
Some checks failed
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 3m58s
Build Zenyx ⚡ / 🏗️ Build aarch64-apple-darwin (push) Failing after 8m5s
Build Zenyx ⚡ / 🏗️ Build x86_64-apple-darwin (push) Failing after 8m8s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Successful in 8m20s
Build Zenyx ⚡ / 🏗️ Build aarch64-pc-windows-msvc (push) Successful in 8m39s
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Successful in 6m4s
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Successful in 6m18s

This commit is contained in:
lily 2025-04-23 18:13:49 -04:00
parent 6884e80646
commit c86be3ca3d
Signed by: lily
GPG key ID: 601F3263FBCBC4B9

View file

@ -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;