nmap: lua5_3 -> lua5_4

nmap was updated from 7.93 -> 7.94 in
<https://github.com/NixOS/nixpkgs/pull/238960>

as part of that update, upstream migrated from lua5.3 to lua5.4, see:
<7d57e7d6b1>

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.
This commit is contained in:
Colin 2023-06-28 23:39:02 +00:00
parent 2687680f22
commit a2a5c711e7

View File

@ -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"