Skip to content

chore: align build tooling (nix CI, fail-fast scripts, purescript-overlay)#1

Merged
Unisay merged 1 commit into
masterfrom
chore/align-overlay
Jun 14, 2026
Merged

chore: align build tooling (nix CI, fail-fast scripts, purescript-overlay)#1
Unisay merged 1 commit into
masterfrom
chore/align-overlay

Conversation

@Unisay

@Unisay Unisay commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Aligns this fork to the canonical purescript-lua tooling.

This fork previously hit the insecure-nodejs evaluation blocker (the legacy easy-purescript-nix input pulled in an unmaintained Node toolchain that no longer evaluates against current nixpkgs). Migrated the dev shell to purescript-overlay, which provides purs and spago directly from cached binaries with no Node dependency.

Changes:

  • flake.nix: replaced the easyps (easy-purescript-nix) input with purescript-overlay; dev shell now uses purs-bin.purs-0_15_16 and spago-bin.spago-0_21_0 via the overlay, plus nixfmt-rfc-style. This is the same template used by the other aligned forks.
  • flake.lock: regenerated against the proven input revisions (the nixos-unstable HEAD that pairs with the pinned pslua/haskell.nix; a fresher nixpkgs breaks the pslua evaluation with a missing node-gyp argument).
  • .github/workflows/ci.yml: replaced the old Node/bower/pulp workflow with the canonical Nix CI (build, optional test, luacheck).
  • scripts/build: added set -euo pipefail for fail-fast behavior.

Verification (all local, all green):

  • nix develop -c true exits 0 with no --impure.
  • nix develop -c ./scripts/build exits 0 (compiles Unsafe.Coerce and emits dist/Unsafe_Coerce.lua).
  • nix develop -c luacheck --quiet --std min src/ reports 0 warnings / 0 errors.

No scripts/test exists in this fork, matching the control pilot; the CI test step is a no-op guard. No src/ changes.

@Unisay Unisay self-assigned this Jun 14, 2026
@Unisay Unisay merged commit 4c718be into master Jun 14, 2026
1 check passed
@Unisay Unisay deleted the chore/align-overlay branch June 14, 2026 12:10
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