diff options
author | Artturi <Artturin@artturin.com> | 2023-03-30 09:53:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 09:53:18 +0300 |
commit | b7b94cd7f198a8d46c0019514cd12136789724e7 (patch) | |
tree | 636b1a4a6d8365437cc4eae15375365590608914 /pkgs/applications | |
parent | 9d694330bce259523799489bc2878b20d22d6501 (diff) | |
parent | e251ece266c5d59ef8c5df98feb629a26a35a14d (diff) |
Merge pull request #222807 from n8henrie/issue_222722
Add alsa-plugins path to ALSA_PLUGIN_DIR
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/espeak-ng/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/audio/espeak-ng/default.nix b/pkgs/applications/audio/espeak-ng/default.nix index 28b60fa600743..5b558a419d1fc 100644 --- a/pkgs/applications/audio/espeak-ng/default.nix +++ b/pkgs/applications/audio/espeak-ng/default.nix @@ -14,6 +14,8 @@ , pcaudiolib , sonicSupport ? true , sonic +, alsa-plugins +, makeWrapper }: stdenv.mkDerivation rec { @@ -35,7 +37,7 @@ stdenv.mkDerivation rec { }) ]; - nativeBuildInputs = [ autoconf automake which libtool pkg-config ronn ]; + nativeBuildInputs = [ autoconf automake which libtool pkg-config ronn makeWrapper ]; buildInputs = lib.optional mbrolaSupport mbrola ++ lib.optional pcaudiolibSupport pcaudiolib @@ -49,6 +51,8 @@ stdenv.mkDerivation rec { postInstall = lib.optionalString stdenv.isLinux '' patchelf --set-rpath "$(patchelf --print-rpath $out/bin/espeak-ng)" $out/bin/speak-ng + wrapProgram $out/bin/espeak-ng \ + --set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib ''; passthru = { |