libhwy: apply the new patch conditionally

Just temporarily to avoid the many rebuilds on staging-next branch.
It's a platform-specific bug.

+1 -1
+1 -1
pkgs/development/libraries/libhwy/default.nix
··· 10 rev = version; 11 hash = "sha256-Gym2iHq5ws9kuG4HWSQndD8hVugV4USZt6dUFnEkLwY="; 12 }; 13 - patches = [ 14 # backport for compilation issue on aarch64 15 # https://github.com/google/highway/issues/1613 16 (fetchpatch {
··· 10 rev = version; 11 hash = "sha256-Gym2iHq5ws9kuG4HWSQndD8hVugV4USZt6dUFnEkLwY="; 12 }; 13 + patches = lib.optionals (with stdenv; isAarch64 && isLinux) [ # conditional, temporarily 14 # backport for compilation issue on aarch64 15 # https://github.com/google/highway/issues/1613 16 (fetchpatch {