From 07a6bc6ab21a9708ff6bd684aa9f9a0375d32f6b Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Wed, 19 Dec 2018 17:14:16 -0500 Subject: [PATCH] x265: fix build on ARM --- pkgs/development/libraries/x265/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/x265/default.nix b/pkgs/development/libraries/x265/default.nix index 4212687a02a..7ea28f6b61e 100644 --- a/pkgs/development/libraries/x265/default.nix +++ b/pkgs/development/libraries/x265/default.nix @@ -35,6 +35,11 @@ stdenv.mkDerivation rec { url = "https://bitbucket.org/multicoreware/x265/commits/471726d3a0462739ff8e3518eb1a1e8a01de4e8d/raw"; sha256 = "0mj8lb8ng8lrhzjavap06vjhqf6j0r3sn76c6rhs3012f86lv928"; }) + # Fix build on ARM (#406) + (fetchpatch { + url = "https://bitbucket.org/multicoreware/x265/issues/attachments/406/multicoreware/x265/1527562952.26/406/X265-2.8-asm-primitives.patch"; + sha256 = "1vf8bpl37gbd9dcbassgkq9i0rp24qm3bl6hx9zv325174bn402v"; + }) ]; postPatch = ''