From 8fe525b6c77ca5fdd2d1922d2e863fbb9198781c Mon Sep 17 00:00:00 2001 From: Volth Date: Tue, 20 Jun 2017 20:15:20 +0000 Subject: [PATCH] mtr: do not do 'setcap' on installPhase, it would fail anyway --- pkgs/tools/networking/mtr/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/mtr/default.nix b/pkgs/tools/networking/mtr/default.nix index 666bb4942a9f..03a0c99c4213 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 ];