treewide: explicitly specify gtk version

This commit is contained in:
Kirill Boltaev
2016-09-13 21:09:24 +03:00
parent 4b55b0358a
commit 0f37287df5
19 changed files with 52 additions and 52 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
{stdenv, fetchurl, ncurses, autoconf
, withGtk ? false, gtk ? null}:
, withGtk ? false, gtk2 ? null}:
assert withGtk -> gtk != null;
assert withGtk -> gtk2 != null;
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
configureFlags = optionalString (!withGtk) "--without-gtk";
buildInputs = [ autoconf ncurses ] ++ optional withGtk gtk;
buildInputs = [ autoconf ncurses ] ++ optional withGtk gtk2;
meta = {
homepage = http://www.bitwizard.nl/mtr/;