Skip to content

Commit

Permalink
Merge pull request #204727 from meain/fix-nanotts
Browse files Browse the repository at this point in the history
nanotts: fix dependency on alsa-plugins
  • Loading branch information
Artturin authored Feb 19, 2023
2 parents 5b25704 + 1ed5cc0 commit e1f9343
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/tools/audio/nanotts/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -12,7 +12,7 @@ stdenv.mkDerivation {
};

strictDeps = true;
nativeBuildInputs = [ autoconf automake libtool ];
nativeBuildInputs = [ autoconf automake libtool makeWrapper ];
buildInputs = [ popt alsa-lib ];

patchPhase = ''
Expand All @@ -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 = {
Expand Down

0 comments on commit e1f9343

Please sign in to comment.