diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-16 09:33:11 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-16 09:33:11 +0200 |
commit | 1ee5ffc1e2814fda40ac91216749b622fba7f239 (patch) | |
tree | c7e89838d4bd25bd359172cf076216907ce0c698 | |
parent | d56b19e2fcc0ba9ad66e63929925c1773ca17c6d (diff) | |
download | nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar.gz nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar.bz2 nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar.lz nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar.xz nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.tar.zst nixpkgs-1ee5ffc1e2814fda40ac91216749b622fba7f239.zip |
speech-tools: fix build on aarch64-darwin
-rw-r--r-- | pkgs/development/libraries/speech-tools/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/speech-tools/default.nix b/pkgs/development/libraries/speech-tools/default.nix index 5f52f394a00..8bee16fef75 100644 --- a/pkgs/development/libraries/speech-tools/default.nix +++ b/pkgs/development/libraries/speech-tools/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, fetchpatch , ncurses , alsa-lib , CoreServices @@ -17,6 +18,14 @@ stdenv.mkDerivation rec { sha256 = "1k2xh13miyv48gh06rgsq2vj25xwj7z6vwq9ilsn8i7ig3nrgzg4"; }; + patches = [ + # Fix build on Apple Silicon. Remove in the next release. + (fetchpatch { + url = "https://github.com/festvox/speech_tools/commit/06141f69d21bf507a9becb5405265dc362edb0df.patch"; + hash = "sha256-tRestCBuRhak+2ccsB6mvDxGm/TIYX4eZ3oppCOEP9s="; + }) + ]; + buildInputs = [ ncurses ] ++ lib.optionals stdenv.isLinux [ |