about summary refs log tree commit diff
path: root/pkgs/development/libraries/libhwy
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-07-31 18:05:48 +0200
committerVladimír Čunát <v@cunat.cz>2023-07-31 18:05:48 +0200
commit8fd0ff15837347ed488abdb8232ad0ae40c52971 (patch)
tree214818344d3d6a8f167a2545b289d9a7d3afb578 /pkgs/development/libraries/libhwy
parent048e36e291aef4c28081f7baa70efac8c6dfc286 (diff)
libhwy: apply the new patch conditionally
Just temporarily to avoid the many rebuilds on staging-next branch.
It's a platform-specific bug.
Diffstat (limited to 'pkgs/development/libraries/libhwy')
-rw-r--r--pkgs/development/libraries/libhwy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libhwy/default.nix b/pkgs/development/libraries/libhwy/default.nix
index 4373f7474339a..afbbf69966bd8 100644
--- a/pkgs/development/libraries/libhwy/default.nix
+++ b/pkgs/development/libraries/libhwy/default.nix
@@ -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 {