Unverified Commit 14e601b1 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

lldpd: fix cross compilation (#449301)

parents a7653670 1e3e3271
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
    openssl
  ];

  preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
    # Yes, this works and is required for cross :'/
    export PATH=$PATH:${net-snmp.dev}/bin
  '';

  enableParallelBuilding = true;

  outputs = [
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ stdenv.mkDerivation rec {

  meta = with lib; {
    description = "Clients and server for the SNMP network monitoring protocol";
    homepage = "http://www.net-snmp.org/";
    homepage = "https://www.net-snmp.org/";
    license = licenses.bsd3;
    platforms = platforms.unix;
  };