forked from nonsensical-dev/zenyx-engine
fix(nix): add missing targets to flake.nix
This commit is contained in:
parent
6884e80646
commit
c86be3ca3d
1 changed files with 10 additions and 4 deletions
14
flake.nix
14
flake.nix
|
@ -31,7 +31,7 @@
|
||||||
(import rust-overlay)
|
(import rust-overlay)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
vulkan-tools-lunarg
|
vulkan-tools-lunarg
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
packages = {
|
packages = {
|
||||||
inherit (pkgs) zenyx;
|
inherit (pkgs) zenyx;
|
||||||
default = pkgs.zenyx;
|
default = pkgs.zenyx;
|
||||||
windows = let
|
windows = let
|
||||||
pkgsCross = import nixpkgs {
|
pkgsCross = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
crossSystem = nixpkgs.lib.systems.examples.mingwW64;
|
crossSystem = nixpkgs.lib.systems.examples.mingwW64;
|
||||||
|
@ -74,8 +74,14 @@
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
(rust-bin.stable.latest.default.override {
|
(rust-bin.stable.latest.default.override {
|
||||||
extensions = ["rust-src" "cargo" "rustfmt" "clippy"];
|
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
|
pkg-config
|
||||||
] ++ nativeBuildInputs;
|
] ++ nativeBuildInputs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue