lldpd: remove references to gcc-wrapper
This commit is contained in:
parent
7b44b7abd0
commit
33acb13fcd
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, pkgconfig
|
{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo
|
||||||
, libevent, readline, net_snmp }:
|
, libevent, readline, net_snmp }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,13 +16,17 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-snmp"
|
"--with-snmp"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
|
||||||
buildInputs = [ libevent readline net_snmp ];
|
buildInputs = [ libevent readline net_snmp ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" "doc" ];
|
outputs = [ "out" "dev" "man" "doc" ];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
find $out -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "802.1ab implementation (LLDP) to help you locate neighbors of all your equipments";
|
description = "802.1ab implementation (LLDP) to help you locate neighbors of all your equipments";
|
||||||
homepage = "https://vincentbernat.github.io/lldpd/";
|
homepage = "https://vincentbernat.github.io/lldpd/";
|
||||||
|
Loading…
Reference in New Issue
Block a user