wprs: move RUSTFLAGS env variables into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:40:43 +01:00
parent 13eb46a180
commit f4081862ed
+1 -1
View File
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage {
cargoHash = "sha256-krrVgdoCcW3voSiQAoWsG+rPf1HYKbuGhplhn21as2c=";
RUSTFLAGS = "-C target-feature=+avx2"; # only works on x86 systems supporting AVX2
env.RUSTFLAGS = "-C target-feature=+avx2"; # only works on x86 systems supporting AVX2
preFixup = ''
cp wprs "$out/bin/wprs"