From 271ef65cb88de00e25afabec5e94147de50ebdaa Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 21 Jul 2024 20:35:45 +0200 Subject: [PATCH] nmap: don't compile with included libinear & zlib --- pkgs/by-name/nm/nmap/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/nm/nmap/package.nix b/pkgs/by-name/nm/nmap/package.nix index 0c1e33219f22..6b6a83c7eae9 100644 --- a/pkgs/by-name/nm/nmap/package.nix +++ b/pkgs/by-name/nm/nmap/package.nix @@ -7,7 +7,9 @@ openssl, lua5_4, pcre2, + liblinear, libssh2, + zlib, withLua ? true, }: @@ -29,7 +31,6 @@ stdenv.mkDerivation rec { configureFlags = [ (if withLua then "--with-liblua=${lua5_4}" else "--without-liblua") - "--with-liblinear=included" "--without-ndiff" "--without-zenmap" ]; @@ -47,9 +48,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ pcre2 + liblinear libssh2 libpcap openssl + zlib ]; enableParallelBuilding = true;