Merge #246333: libhwy: fix build on aarch64

...into staging-next

+9 -1
+9 -1
pkgs/development/libraries/libhwy/default.nix
··· 1 - { lib, stdenv, cmake, ninja, gtest, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 pname = "libhwy"; ··· 10 rev = version; 11 hash = "sha256-Gym2iHq5ws9kuG4HWSQndD8hVugV4USZt6dUFnEkLwY="; 12 }; 13 14 nativeBuildInputs = [ cmake ninja ]; 15
··· 1 + { lib, stdenv, cmake, ninja, gtest, fetchFromGitHub, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 pname = "libhwy"; ··· 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 { 17 + url = "https://github.com/google/highway/commit/7ad89efa911cb906ccf3f78fe510db415e921801.diff"; 18 + hash = "sha256-hTSkeCh2QLMqeIKG/CAqJXaPqD/66Z02gjGXk591f+U="; 19 + }) 20 + ]; 21 22 nativeBuildInputs = [ cmake ninja ]; 23