From a2a5c711e7c0ff43143fc58ec08853ec063f35b3 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 28 Jun 2023 23:39:02 +0000 Subject: nmap: lua5_3 -> lua5_4 nmap was updated from 7.93 -> 7.94 in as part of that update, upstream migrated from lua5.3 to lua5.4, see: nmap's configure script falls back to its vendored liblua if it can't find the expected lua version (silently). that means we lost all nix-specific lua patches that make things like cross compilation work. this patch brings the lua versions back in line to fix that regression. --- pkgs/tools/security/nmap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/security/nmap/default.nix') diff --git a/pkgs/tools/security/nmap/default.nix b/pkgs/tools/security/nmap/default.nix index 71a4ca5cf21..1f9084964b2 100644 --- a/pkgs/tools/security/nmap/default.nix +++ b/pkgs/tools/security/nmap/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, fetchpatch, libpcap, pkg-config, openssl, lua5_3 +{ lib, stdenv, fetchurl, libpcap, pkg-config, openssl, lua5_4 , pcre, libssh2 , withLua ? true }: @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { ''; configureFlags = [ - (if withLua then "--with-liblua=${lua5_3}" else "--without-liblua") + (if withLua then "--with-liblua=${lua5_4}" else "--without-liblua") "--with-liblinear=included" "--without-ndiff" "--without-zenmap" -- cgit 1.4.1