diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-08-15 13:31:40 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-08-15 13:31:40 +0200 |
commit | 70bffb6ec1a434b69ad02fd694fa3d3d2cf1aa7b (patch) | |
tree | 5c0c4a7d3932833ae9de289b05ff235c7ebeb776 /pkgs/development/libraries/harfbuzz | |
parent | 4e717ab9589968ecc642b6a1a97f939e486085af (diff) |
harfbuzz: fix aarch64-linux build by upstream patch
Diffstat (limited to 'pkgs/development/libraries/harfbuzz')
-rw-r--r-- | pkgs/development/libraries/harfbuzz/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 4d70a044cbdcd..c9f8f83f0f882 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , pkg-config , glib , freetype @@ -47,6 +48,14 @@ stdenv.mkDerivation { sha256 = "sha256-K6iScmg1vNfwb1UYqtXsnijLVpcC+am2ZL+W5bLFzsI="; }; + patches = [ + (fetchpatch { + name = "aarch64-test-narrowing.diff"; + url = "https://github.com/harfbuzz/harfbuzz/commit/04d28d94e576aab099891e6736fd0088dfac3366.diff"; + sha256 = "sha256-099GP8t1G0kyYl79A6xJhfyrs3WXYitvn+He7sEz+Oo="; + }) + ]; + postPatch = '' patchShebangs src/*.py test '' + lib.optionalString stdenv.isDarwin '' |