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 28 }) 29 29 ]; 30 30 31 - nativeBuildInputs = [ pkg-config ]; 31 + nativeBuildInputs = lib.optionals gtkGUI [ pkg-config ]; 32 + 32 33 buildInputs = [ gettext ncurses ] 33 34 ++ lib.optionals gtkGUI [ gtk2 ]; 35 + 36 + configureFlags = lib.optionals (!gtkGUI) ["--without-gtk"]; 34 37 35 38 meta = with lib; { 36 39 description = "Audio mixer for X and the console";