Skip to content

Commit 0bdc23d

Browse files
committed
nix: rust-gpu with use-compiled-tools to fix differences
1 parent 16798d2 commit 0bdc23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.nix/flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
hash = "sha256-rG1cZvOV0vYb1dETOzzbJ0asYdE039UZImobXZfKIno=";
5858
};
5959
cargoHash = "sha256-AEigcEc5wiBd3zLqWN/2HSbkfOVFneAqNvg9HsouZf4=";
60-
cargoBuildFlags = [ "-p" "rustc_codegen_spirv" "--features=use-installed-tools" "--no-default-features" ];
60+
cargoBuildFlags = [ "-p" "rustc_codegen_spirv" "--features=use-compiled-tools" "--no-default-features" ];
6161
doCheck = false;
6262
});
6363
rustGpuCargo = pkgs.writeShellScriptBin "cargo" ''
@@ -73,7 +73,7 @@
7373
7474
exec ${rustGPUToolchainPkg}/bin/cargo ${"\${filtered_args[@]}"}
7575
'';
76-
rustGpuPathOverride = "${rustGpuCargo}/bin:${rustGPUToolchainPkg}/bin:${pkgs.spirv-tools}/bin";
76+
rustGpuPathOverride = "${rustGpuCargo}/bin:${rustGPUToolchainPkg}/bin";
7777

7878
libcef = pkgs.libcef.overrideAttrs (finalAttrs: previousAttrs: {
7979
version = "139.0.17";

0 commit comments

Comments
 (0)