Skip to content

chore: align build tooling (purescript-overlay, nix CI, Lua 5.1)#1

Merged
Unisay merged 2 commits into
masterfrom
chore/align-overlay
Jun 14, 2026
Merged

chore: align build tooling (purescript-overlay, nix CI, Lua 5.1)#1
Unisay merged 2 commits into
masterfrom
chore/align-overlay

Conversation

@Unisay

@Unisay Unisay commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Pilots the purescript-overlay migration (purescript-lua/purescript-lua#54) and the canonical nix-CI normalization. Plain nix develop now evaluates without --impure (the insecure-nodejs blocker is gone), build/luacheck green.

While bringing the build green on the pinned Lua 5.1 toolchain, two pre-existing blockers in the fork had to be fixed in the same branch: the package set pointed at a deleted draft release (404), so it was bumped to the current upstream-ps // upstream-lua composition and the deps renamed from the old lua-prelude/lua-newtype to the canonical prelude/newtype; and src/Control/Extend.lua used table.unpack (Lua 5.2+, undefined on the 5.1 target — luacheck flagged it once 5.1 was pinned) plus an FFI shape the pslua linker rejected, so it was rewritten to a 5.1-correct paren-wrapped closure that builds the suffix sub-array explicitly.

Migrate the dev shell from easy-purescript-nix to purescript-overlay so plain `nix develop` evaluates (easy-ps pulled EOL nodejs marked insecure, breaking CI). Drop purs-tidy, use the overlay purs 0.15.16 + legacy spago 0.21, pin Lua 5.1 (the pslua target runtime), and replace the inherited bower CI with the canonical nix workflow. (purescript-lua/purescript-lua#54)
@Unisay Unisay merged commit f74341a into master Jun 14, 2026
1 check passed
@Unisay Unisay deleted the chore/align-overlay branch June 14, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant