diff options
-rw-r--r-- | pkgs/tools/networking/mtr/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mtr/default.nix b/pkgs/tools/networking/mtr/default.nix index 666bb4942a9..03a0c99c421 100644 --- a/pkgs/tools/networking/mtr/default.nix +++ b/pkgs/tools/networking/mtr/default.nix @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { sha256 = "17zi99n8bdqrwrnbfyjn327jz4gxx287wrq3vk459c933p34ff8r"; }; + preConfigure = "substituteInPlace Makefile.in --replace ' install-exec-hook' ''"; + configureFlags = optionalString (!withGtk) "--without-gtk"; nativeBuildInputs = [ autoreconfHook pkgconfig ]; |