diff options
author | Artturi <Artturin@artturin.com> | 2022-10-07 23:33:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 23:33:23 +0300 |
commit | 73ed812bf73dbb20012a8af258aae3e613cdf538 (patch) | |
tree | 61eaf8957b5478aec68707197d29bfaf88fa0b11 | |
parent | 11035eded715472307ada2a28fe28d0bb55a3cef (diff) | |
parent | 9047260b63938c428ca9caa2ccc93b27642403d1 (diff) |
Merge pull request #194969 from tjni/aumix
aumix: fix build when not using GTK
-rw-r--r-- | pkgs/applications/audio/aumix/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/audio/aumix/default.nix b/pkgs/applications/audio/aumix/default.nix index e3e1ec74ffd35..6127cb7e69291 100644 --- a/pkgs/applications/audio/aumix/default.nix +++ b/pkgs/applications/audio/aumix/default.nix @@ -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 = '' |