Merge pull request #194969 from tjni/aumix
aumix: fix build when not using GTK
This commit is contained in:
commit
73ed812bf7
1 changed files with 4 additions and 1 deletions
|
@ -28,10 +28,13 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = lib.optionals gtkGUI [ pkg-config ];
|
||||
|
||||
buildInputs = [ gettext ncurses ]
|
||||
++ lib.optionals gtkGUI [ gtk2 ];
|
||||
|
||||
configureFlags = lib.optionals (!gtkGUI) ["--without-gtk"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audio mixer for X and the console";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue