aumix: fix build when not using GTK
This commit is contained in:
parent
2ae4a931aa
commit
9047260b63
|
@ -28,10 +28,13 @@ stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = lib.optionals gtkGUI [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ gettext ncurses ]
|
buildInputs = [ gettext ncurses ]
|
||||||
++ lib.optionals gtkGUI [ gtk2 ];
|
++ lib.optionals gtkGUI [ gtk2 ];
|
||||||
|
|
||||||
|
configureFlags = lib.optionals (!gtkGUI) ["--without-gtk"];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Audio mixer for X and the console";
|
description = "Audio mixer for X and the console";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue