chore: normalize build tooling (purescript-overlay, nix CI, Lua 5.1)#4
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Nix flake and GitHub Actions CI to align with current PureScript/Lua ecosystem tooling: switching the dev shell to purescript-overlay, targeting Lua 5.1 tooling, and replacing the legacy Node/bower CI with a Nix-based workflow.
Changes:
- Switch flake inputs from
easy-purescript-nixtopurescript-overlay, updating PureScript/Spago toolchain versions and adding flake-level binary cache configuration. - Replace the GitHub Actions workflow with a Nix-based CI that runs
./scripts/build,./scripts/test(if present), andluacheckfor Lua 5.1. - Refresh
flake.lockas part of the flake input changes.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| flake.nix | Moves the dev shell to purescript-overlay, updates toolchain inputs, and adds nixConfig cache settings. |
| flake.lock | Updates pinned inputs to match the new flake configuration and refreshed dependencies. |
| .github/workflows/ci.yml | Replaces Node/bower CI with a Nix-based build/test/luacheck workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| npm install | ||
| bower install --production | ||
| - name: Build | ||
| run: nix develop -c ./scripts/build |
…pts/build, run test via bash)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Normalize this fork's build tooling to the ecosystem canon.
nix develop -c ./scripts/build,./scripts/test,luacheck).nix flake update.--std lua51 --no-unused-args: matches the Lua 5.1 target (math.pow/atan2 are valid there) and the FFI convention of curried fallback arguments the native impl ignores.Verified locally: build, test (where present), and luacheck all green.
Tooling only, no source changes.
Note: the PureScript test suite under
test/is not exercised by this CI. Reviving the upstream suites (with their Lua 5.1 fixes) is a separate upstream-sync task; this PR only normalizes build tooling.