Skip to content

update dependencies and get LB compiling - #297

Open
Benjmhart wants to merge 6 commits into
mainfrom
staging
Open

update dependencies and get LB compiling#297
Benjmhart wants to merge 6 commits into
mainfrom
staging

Conversation

@Benjmhart

Copy link
Copy Markdown
Member

this branch updates dependencies and gets the build running under van-rossum compatible package set

Benjmhart and others added 6 commits July 23, 2026 17:59
Hercules CI evaluates in pure mode and re-derives the lock, walking the
flake-lang -> haskell-nix -> hackage override chain and failing with
'cannot update unlocked flake input flake-lang/haskell-nix/hackage in
pure mode'. flake-lang had a mutable branch ref; pin it to the exact rev
the lock was built against so CI uses the committed lock as-is.

Build is unchanged (lbr-plutus drv identical); nix flake check green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The depth-2 hackage override (flake-lang -> haskell-nix -> hackage) can't be
evaluated by Hercules CI in pure mode (it re-locks the transitive input and
can't fetch it), which is why CI kept failing with 'cannot update unlocked
flake input ... in pure mode'.

Replace it: keep only the depth-1 CHaP override (immutable rev, which CI
accepts) for plutus 1.65, leave haskell.nix + its bundled hackage.nix at
flake-lang's defaults (index-state 2025-09-27), and inject the one package that
only gained GHC 9.12 support later — proto-lens 0.7.1.7 — as a haskell.nix
extraHackage source dependency (settings.haskell.proto-lens-deps, fetched with
submodules and symlinks dereferenced) into the compiler/codegen/frontend
projects.

nix flake check green (226/226). Build outputs unchanged for the runtimes.

Co-Authored-By: Claude Opus 4.8 <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