Merge pull request #194969 from tjni/aumix

aumix: fix build when not using GTK

authored by Artturi and committed by GitHub 73ed812b 11035ede

+4 -1
+4 -1
pkgs/applications/audio/aumix/default.nix
··· 28 }) 29 ]; 30 31 - nativeBuildInputs = [ pkg-config ]; 32 buildInputs = [ gettext ncurses ] 33 ++ lib.optionals gtkGUI [ gtk2 ]; 34 35 meta = with lib; { 36 description = "Audio mixer for X and the console";
··· 28 }) 29 ]; 30 31 + nativeBuildInputs = lib.optionals gtkGUI [ pkg-config ]; 32 + 33 buildInputs = [ gettext ncurses ] 34 ++ lib.optionals gtkGUI [ gtk2 ]; 35 + 36 + configureFlags = lib.optionals (!gtkGUI) ["--without-gtk"]; 37 38 meta = with lib; { 39 description = "Audio mixer for X and the console";