libnids: fix cross build

This commit is contained in:
FliegendeWurst
2025-01-14 17:59:40 +01:00
parent d9e9853753
commit c8d6153f3b
+6
View File
@@ -14,6 +14,12 @@ stdenv.mkDerivation {
url = "mirror://sourceforge/libnids/libnids-1.24.tar.gz";
sha256 = "1cblklfdfxcmy0an6xyyzx4l877xdawhjd28daqfsvrh81mb07k1";
};
postPatch = ''
substituteInPlace src/Makefile.in \
--replace-fail ar '${stdenv.cc.targetPrefix}ar'
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libpcap