From 33acb13fcdc53ac1c24676192ac132b69a9c5065 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 27 May 2017 01:53:18 +0200 Subject: lldpd: remove references to gcc-wrapper --- pkgs/tools/networking/lldpd/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/networking/lldpd/default.nix b/pkgs/tools/networking/lldpd/default.nix index 8e3bd7a82bf3..6b816fc8740a 100644 --- a/pkgs/tools/networking/lldpd/default.nix +++ b/pkgs/tools/networking/lldpd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, pkgconfig +{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo , libevent, readline, net_snmp }: stdenv.mkDerivation rec { @@ -16,13 +16,17 @@ stdenv.mkDerivation rec { "--with-snmp" ]; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig removeReferencesTo ]; buildInputs = [ libevent readline net_snmp ]; enableParallelBuilding = true; outputs = [ "out" "dev" "man" "doc" ]; + preFixup = '' + find $out -type f -exec remove-references-to -t ${stdenv.cc} '{}' + + ''; + meta = with lib; { description = "802.1ab implementation (LLDP) to help you locate neighbors of all your equipments"; homepage = "https://vincentbernat.github.io/lldpd/"; -- cgit 1.4.1