mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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 }:
|
||||
|
||||
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/";
|
||||
|
Loading…
Reference in New Issue
Block a user