Skip to content

Bump wai-app-static upper bound to include 3.2.x#330

Open
jappeace-sloth wants to merge 8 commits intosnoyberg:masterfrom
jappeace-sloth:bump-wai-app-static
Open

Bump wai-app-static upper bound to include 3.2.x#330
jappeace-sloth wants to merge 8 commits intosnoyberg:masterfrom
jappeace-sloth:bump-wai-app-static

Conversation

@jappeace-sloth
Copy link
Copy Markdown

Summary

  • Raise wai-app-static upper bound from <3.2 to <3.3 to include the latest 3.2.1 release
  • Patch bump version to 2.3.1
  • Update changelog

Test plan

  • cabal build succeeds with the new bounds

🤖 Generated with Claude Code

Raise the upper bound from <3.2 to <3.3 so the latest
wai-app-static 3.2.1 release is accepted. Patch bump version
to 2.3.1 and update changelog.

Prompt: update keter's wai-app-static bound to include the latest release,
don't use || syntax but just < it. patch bump the version and update the
changelog too

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jappeace-sloth and others added 7 commits March 12, 2026 10:47
Add explicit crypton bounds to support upstream RAM changes.
This pins the transitive dependency (via tls) to the latest
crypton 1.1.x release series.

Prompt: in keter change the bounds such that we depend on the lastest crypton release 1.1.0 >= && < 1.2, there is already a PR open to bump bounds, use this one to modify that. This is to support or ram change upstream

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The nixpkgs 25.05 package set has an older crypton that doesn't
satisfy the new >=1.1.0 bound. Add a conditional override to
pull crypton 1.1.0 from Hackage when needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
callHackageDirect runs cabal2nix which transitively depends on crypton,
causing infinite recursion. Use overrideCabal to just swap the version
and source hash instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
crypton 1.1.0 has new dependencies (ram, base16) not in nixpkgs.
Add ram 0.21.1 from Hackage and include both as extra deps in
the crypton overrideCabal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ram is defined in our own overrides, so it must be referenced via
the fixed-point (hself), not the previous package set (hprev).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Overriding crypton globally causes infinite recursion because
cabal2nix (used by callHackageDirect/callCabal2nix) transitively
depends on crypton, creating a cycle.

Instead, use doJailbreak so the nix build accepts nixpkgs' crypton
1.0.x while the cabal bounds (>=1.1.0) protect Hackage/cabal users.
Remove the jailbreak once nixpkgs updates crypton to >= 1.1.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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