Merge pull request #194969 from tjni/aumix

aumix: fix build when not using GTK
This commit is contained in:
Artturi 2022-10-07 23:33:23 +03:00 committed by GitHub
commit 73ed812bf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = ''