mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #204727 from meain/fix-nanotts
nanotts: fix dependency on alsa-plugins
This commit is contained in:
commit
e1f9343793
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user