chore: align build tooling (nix CI, fail-fast scripts, purescript-overlay)#1
Merged
Conversation
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.
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
pursandspagodirectly from cached binaries with no Node dependency.Changes:
flake.nix: replaced theeasyps(easy-purescript-nix) input withpurescript-overlay; dev shell now usespurs-bin.purs-0_15_16andspago-bin.spago-0_21_0via the overlay, plusnixfmt-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 pinnedpslua/haskell.nix; a fresher nixpkgs breaks thepsluaevaluation with a missingnode-gypargument)..github/workflows/ci.yml: replaced the old Node/bower/pulp workflow with the canonical Nix CI (build, optional test, luacheck).scripts/build: addedset -euo pipefailfor fail-fast behavior.Verification (all local, all green):
nix develop -c trueexits 0 with no--impure.nix develop -c ./scripts/buildexits 0 (compilesUnsafe.Coerceand emitsdist/Unsafe_Coerce.lua).nix develop -c luacheck --quiet --std min src/reports 0 warnings / 0 errors.No
scripts/testexists in this fork, matching the control pilot; the CI test step is a no-op guard. Nosrc/changes.