diff options
author | Artturi <Artturin@artturin.com> | 2023-02-19 07:19:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 07:19:54 +0200 |
commit | e1f9343793c6d180f78eb1a9c024cd565ab05b1a (patch) | |
tree | a5286b887fa6b013e8cbfdd00f03cff0e2fe7960 /pkgs/tools/audio | |
parent | 5b25704f2d1e9f6a1fe75946c05cd0dfbcff07fc (diff) | |
parent | 1ed5cc0d4856c192b29a4622fc53b1d225fc7414 (diff) |
Merge pull request #204727 from meain/fix-nanotts
nanotts: fix dependency on alsa-plugins
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r-- | pkgs/tools/audio/nanotts/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/audio/nanotts/default.nix b/pkgs/tools/audio/nanotts/default.nix index 85f786d208103..a68f1593b6467 100644 --- a/pkgs/tools/audio/nanotts/default.nix +++ b/pkgs/tools/audio/nanotts/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, popt, alsa-lib }: +{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, popt, alsa-lib, alsa-plugins, makeWrapper }: stdenv.mkDerivation { pname = "nano-tts"; @@ -12,7 +12,7 @@ stdenv.mkDerivation { }; strictDeps = true; - nativeBuildInputs = [ autoconf automake libtool ]; + nativeBuildInputs = [ autoconf automake libtool makeWrapper ]; buildInputs = [ popt alsa-lib ]; patchPhase = '' @@ -23,6 +23,8 @@ stdenv.mkDerivation { installPhase = '' install -Dm755 -t $out/bin nanotts install -Dm644 -t $out/share/lang $src/lang/* + wrapProgram $out/bin/nanotts \ + --set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib ''; meta = { |