Unverified Commit f4081862 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

wprs: move RUSTFLAGS env variables into env for structuredAttrs

parent 13eb46a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"