Skip to content

chore: normalize build tooling (nix CI, fail-fast scripts, fresh flake) - #7

Merged
Unisay merged 2 commits into
masterfrom
chore/normalize-tooling
Jun 14, 2026
Merged

chore: normalize build tooling (nix CI, fail-fast scripts, fresh flake)#7
Unisay merged 2 commits into
masterfrom
chore/normalize-tooling

Conversation

@Unisay

Copy link
Copy Markdown
Collaborator

Replace the inherited bower CI (no bower.json in this fork) with a nix-based one that runs scripts/build, scripts/test (if present) and luacheck; make the scripts fail-fast; refresh stale flake inputs.

Unisay added 2 commits June 14, 2026 09:45
Replace the inherited bower CI (no bower.json in this fork) with a nix-based one that runs scripts/build, scripts/test (if present) and luacheck; make the scripts fail-fast; refresh stale flake inputs.
@UnisayUnisay mentioned this pull request Jun 14, 2026
4 tasks
@UnisayUnisay self-assigned this Jun 14, 2026
@Unisay
Unisay requested a review from CopilotJune 14, 2026 11:13

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s Nix flake and GitHub Actions CI to standardize builds around a Nix-based dev environment, refresh flake inputs, and ensure CI runs the project’s build/lint steps (and tests when present).

Changes:

  • Switch the flake dev shell from easy-purescript-nix imports to purescript-overlay-provided purs/spago binaries.
  • Add optional CI test execution (./scripts/test when present) alongside the existing build and luacheck steps.
  • Refresh flake.lock inputs and add flake-local nixConfig for binary cache configuration.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

FileDescription
flake.nixMoves dev shell tooling to purescript-overlay and adds flake-local Nix cache configuration.
flake.lockRefreshes/rewrites locked inputs to match the new flake input graph.
.github/workflows/ci.ymlAdds an optional test step and continues to run build + luacheck under nix develop.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadflake.nix
Comment on lines +29 to +32
pslua.packages.${system}.default
purs-bin.purs-0_15_16
spago-bin.spago-0_21_0
treefmt
Comment threadflake.nix
Comment on lines +38 to +46
nixConfig = {
extra-substituters = [
"https://cache.iog.io"
"https://purescript-lua.cachix.org"
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"purescript-lua.cachix.org-1:yLs4ei2HtnuPtzLekOrW3xdfm95+Etw15gwgyIGTayA="
];
@Unisay
Unisay merged commit 335da46 into masterJun 14, 2026
2 checks passed
@Unisay
Unisay deleted the chore/normalize-tooling branch June 14, 2026 11:16
Sign up for freeto 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.

2 participants

@Unisay