Merge pull request #142900 from trofi/sequential-espeak-ng

espeak-ng: explicitly disable parallel building
This commit is contained in:
Sandro 2021-10-26 09:11:47 +02:00 committed by GitHub
commit 45e2dc61fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
"--with-mbrola=${if mbrolaSupport then "yes" else "no"}"
];
# Current release lacks dependencies on local espeak-ng:
# cd dictsource && ESPEAK_DATA_PATH=/build/espeak-ng LD_LIBRARY_PATH=../src: ../src/espeak-ng --compile=yue && cd ..
# bash: line 1: ../src/espeak-ng: No such file or directory
# Should be fixed in next release: https://github.com/espeak-ng/espeak-ng/pull/1029
enableParallelBuilding = false;
postInstall = lib.optionalString stdenv.isLinux ''
patchelf --set-rpath "$(patchelf --print-rpath $out/bin/espeak-ng)" $out/bin/speak-ng
'';