Skip to content

lua5_5: update tests - #477873

Merged
7c6f434c merged 1 commit into
NixOS:stagingfrom
mrcjkb:mj/push-mvtymtonzskt
Jan 8, 2026
Merged

7c6f434c merged 1 commit into
NixOS:stagingfrom
mrcjkb:mj/push-mvtymtonzskt

Conversation

@mrcjkb

@mrcjkb mrcjkb commented Jan 7, 2026 •

Copy link
Copy Markdown
Member

A follow-up to #473564.
See #473564 (comment).

  • Adds interpreter path golden test cases for Lua 5.5
  • Replaces http with alt_getopt in the checkSetupHook, because bit32 (a http dependency) has a lua < 5.5 version constraint, causing evaluation to fail.
    alt_getopt just has a lua >= 5.1 constraint, so it should work with all Lua versions.
  • Modifies the checkPropagatedBuildInputs test to use luacov, as rest-nvim has a dependency that doesn't build with Lua 5.5.

Todo:

  • Test with nix build --no-link -f. lua5_5.tests

cc @trofi

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@mrcjkb
mrcjkb requested a review from a team January 7, 2026 21:30
Comment thread pkgs/by-name/si/sile/package.nix Resolved
@mrcjkb
mrcjkb force-pushed the mj/push-mvtymtonzskt branch from 511c832 to 1c3e8d2 Compare January 7, 2026 22:00
@mrcjkb

mrcjkb commented Jan 7, 2026 •

Copy link
Copy Markdown
Member Author

Ran nix build --no-link -f. lua5_5.tests locally (duplicated the relevant commits on master to be able to use cached builds) and it passes now.

A bunch of Lua packages are broken for Lua 5.5, because:

  • A. Many still have a < 5.5 upper bound in their Lua version constraint.
  • B. There are some Lua packages written in C that don't have a < 5.5 upper bound (e.g. LuaFileSystem), but won't compile with Lua 5.5 headers.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. labels Jan 7, 2026
@mrcjkb mrcjkb closed this Jan 7, 2026
@mrcjkb mrcjkb reopened this Jan 7, 2026
@mrcjkb
mrcjkb requested a review from trofi January 7, 2026 22:08

@trofi trofi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes eval failures for me. Thank you!

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 7, 2026
@7c6f434c
7c6f434c added this pull request to the merge queue Jan 8, 2026
Merged via the queue into NixOS:staging with commit 4f41bb0 Jan 8, 2026
@mrcjkb
mrcjkb deleted the mj/push-mvtymtonzskt branch January 8, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants