diff options
author | Abin Simon <mail@meain.io> | 2022-12-06 08:45:42 +0530 |
---|---|---|
committer | Abin Simon <mail@meain.io> | 2023-02-19 10:23:12 +0530 |
commit | 1ed5cc0d4856c192b29a4622fc53b1d225fc7414 (patch) | |
tree | 56b529fc7a311fcf718647ed53abd0b2621ae68a /pkgs/tools/audio | |
parent | 4f4073186f4714a6fbca4e649e568fb35ac8811e (diff) |
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 = { |