parent
3f76f631c5
commit
418cc5813e
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ gcc9Stdenv, lib, fetchFromGitLab, autoreconfHook, libpcap, db, glib, libnet, libnids, symlinkJoin, openssl
|
{ gcc9Stdenv, lib, fetchFromGitLab, autoreconfHook, libpcap, db, glib, libnet, libnids, symlinkJoin, openssl
|
||||||
, rpcsvc-proto, libtirpc, libnsl
|
, rpcsvc-proto, libtirpc, libnsl, libnl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# We compile with GCC 9 since GCC 10 segfaults on the code
|
# We compile with GCC 9 since GCC 10 segfaults on the code
|
||||||
|
@ -59,8 +59,8 @@ in gcc9Stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook rpcsvc-proto ];
|
nativeBuildInputs = [ autoreconfHook rpcsvc-proto ];
|
||||||
buildInputs = [ glib pcap libtirpc libnsl ];
|
buildInputs = [ glib pcap libtirpc libnsl libnl ];
|
||||||
NIX_CFLAGS_LINK = "-lglib-2.0 -lpthread -ltirpc";
|
NIX_CFLAGS_LINK = "-lglib-2.0 -lpthread -ltirpc -lnl-3 -lnl-genl-3";
|
||||||
env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
|
env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for patch in debian/patches/*.patch; do
|
for patch in debian/patches/*.patch; do
|
||||||
|
|
Loading…
Reference in a new issue