libhwy: apply the new patch conditionally

Just temporarily to avoid the many rebuilds on staging-next branch.
It's a platform-specific bug.
This commit is contained in:
Vladimír Čunát 2023-07-31 18:05:48 +02:00
parent 048e36e291
commit 8fd0ff1583
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
rev = version;
hash = "sha256-Gym2iHq5ws9kuG4HWSQndD8hVugV4USZt6dUFnEkLwY=";
};
patches = [
patches = lib.optionals (with stdenv; isAarch64 && isLinux) [ # conditional, temporarily
# backport for compilation issue on aarch64
# https://github.com/google/highway/issues/1613
(fetchpatch {