about summary refs log tree commit diff
path: root/pkgs/applications/audio/espeak-ng
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-10-25 22:55:50 +0100
committerSergei Trofimovich <slyich@gmail.com>2021-10-25 22:57:25 +0100
commited66694ebf16197195b3f9b4159ec7567b1c5508 (patch)
tree621f027e841badcd8b55058da7eb5c0a2b41c061 /pkgs/applications/audio/espeak-ng
parent419f79491defe9fb16727454cf9b26a7c8c7415a (diff)
espeak-ng: explicitly disable parallel building
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
Can't apply patch as is as Makefile.am diverged quite a bit since 1.50
release.
Diffstat (limited to 'pkgs/applications/audio/espeak-ng')
-rw-r--r--pkgs/applications/audio/espeak-ng/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/audio/espeak-ng/default.nix b/pkgs/applications/audio/espeak-ng/default.nix
index 44d5a0aa15aac..e0f7822bcd716 100644
--- a/pkgs/applications/audio/espeak-ng/default.nix
+++ b/pkgs/applications/audio/espeak-ng/default.nix
@@ -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
   '';