From b2bf4d8327b71f67bb7766fc2cb2988152067b02 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 (cherry picked from commit 8fe525b6c77ca5fdd2d1922d2e863fbb9198781c) --- 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 c96e5cac367c..0ce3a732daee 100644 --- a/pkgs/tools/networking/mtr/default.nix +++ b/pkgs/tools/networking/mtr/default.nix @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { sha256 = "01lcy89q3i9g4kz4liy6m7kcq1zyvmbc63rqidgw67341f94inf5"; }; + preConfigure = "substituteInPlace Makefile.in --replace ' install-exec-hook' ''"; + configureFlags = optionalString (!withGtk) "--without-gtk"; buildInputs = [ autoconf ncurses ] ++ optional withGtk gtk2;