Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nmap: lua5_3 -> lua5_4 #240440

Merged
merged 1 commit into from
Jun 29, 2023
Merged

nmap: lua5_3 -> lua5_4 #240440

merged 1 commit into from
Jun 29, 2023

Conversation

uninsane
Copy link
Contributor

nmap was updated from 7.93 -> 7.94 in
#238960

as part of that update, upstream migrated from lua5.3 to lua5.4, see: nmap/nmap@7d57e7d

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.

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux (via pkgsCross.aarch64-multiplatform.nmap)
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

nmap was updated from 7.93 -> 7.94 in
<NixOS#238960>

as part of that update, upstream migrated from lua5.3 to lua5.4, see:
<nmap/nmap@7d57e7d>

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.
@uninsane uninsane requested review from fpletz and Ma27 June 29, 2023 00:08
@uninsane uninsane mentioned this pull request Jun 29, 2023
12 tasks
@uninsane uninsane added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Jun 29, 2023
@ofborg ofborg bot requested a review from thoughtpolice June 29, 2023 00:28
@NickCao
Copy link
Member

NickCao commented Jun 29, 2023

@ofborg build pkgsCross.aarch64-multiplatform.nmap

@NickCao
Copy link
Member

NickCao commented Jun 29, 2023

Result of nixpkgs-review pr 240440 run on x86_64-linux 1

20 packages built:
  • asn
  • checkSSLCert
  • crowbar
  • crowbar.dist
  • das
  • das.dist
  • gnome.gnome-nettool
  • home-assistant-component-tests.nmap_tracker
  • nmap
  • nmapsi4
  • python310Packages.netmap
  • python310Packages.netmap.dist
  • python310Packages.python-nmap
  • python310Packages.python-nmap.dist
  • python311Packages.netmap
  • python311Packages.netmap.dist
  • python311Packages.python-nmap
  • python311Packages.python-nmap.dist
  • rmount
  • rustscan

@NickCao NickCao merged commit 2c8591a into NixOS:master Jun 29, 2023
13 of 15 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different sort platform than than they will be run on 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants