nanotts: fix dependency on alsa-plugins

+4 -2
+4 -2
pkgs/tools/audio/nanotts/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, popt, alsa-lib }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, popt, alsa-lib, alsa-plugins, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "nano-tts"; ··· 12 12 }; 13 13 14 14 strictDeps = true; 15 - nativeBuildInputs = [ autoconf automake libtool ]; 15 + nativeBuildInputs = [ autoconf automake libtool makeWrapper ]; 16 16 buildInputs = [ popt alsa-lib ]; 17 17 18 18 patchPhase = '' ··· 23 23 installPhase = '' 24 24 install -Dm755 -t $out/bin nanotts 25 25 install -Dm644 -t $out/share/lang $src/lang/* 26 + wrapProgram $out/bin/nanotts \ 27 + --set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib 26 28 ''; 27 29 28 30 meta = {