summary refs log tree commit diff
path: root/pkgs/tools/networking/mtr
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/mtr')
-rw-r--r--pkgs/tools/networking/mtr/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/mtr/default.nix b/pkgs/tools/networking/mtr/default.nix
index af5155695f4..c96e5cac367 100644
--- a/pkgs/tools/networking/mtr/default.nix
+++ b/pkgs/tools/networking/mtr/default.nix
@@ -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/;