Skip to content

Updated CHaP#1165

Open
coot wants to merge 1 commit intomasterfrom
coot/chap
Open

Updated CHaP#1165
coot wants to merge 1 commit intomasterfrom
coot/chap

Conversation

@coot
Copy link
Copy Markdown
Contributor

@coot coot commented Mar 30, 2026

Changelog

- description: |
    Updated CHaP
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...
# uncomment at least one main project this PR is associated with
  projects:
  - cardano-api
  # - cardano-api-gen
  # - cardano-rpc
  # - cardano-wasm

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@coot coot requested a review from a team as a code owner March 30, 2026 14:12
Copilot AI review requested due to automatic review settings March 30, 2026 14:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s Cardano Haskell Packages (CHaP) pinning for both Nix (flake input) and Cabal (index-state / active repositories), aligning dependency resolution with a newer CHaP state.

Changes:

  • Bump CHaP flake input in flake.lock (rev / narHash / lastModified).
  • Update cardano-haskell-packages index-state in cabal.project.
  • Add active-repositories in cabal.project to ensure CHaP is used as an override.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
flake.lock Updates the locked CHaP input revision/hash metadata.
cabal.project Updates CHaP index-state and activates CHaP as an overriding repository.

cabal.project Outdated
index-state:
, cardano-haskell-packages 2026-03-20T13:09:44Z
, hackage.haskell.org 2026-03-22T23:17:32Z
, cardano-haskell-packages 2026-03-30T12:55:49Z
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

The new cardano-haskell-packages index-state timestamp (2026-03-30T12:55:49Z) is later than the CHaP flake input’s lastModified in flake.lock (1774871371 ≈ 2026-03-30T11:49:31Z). This makes the flake’s CHaP snapshot older than the Cabal index-state, which can lead to Nix/Cabal resolving different package sets or failing to find CHaP packages expected by the index-state. Please update the CHaP flake input to a commit newer than the index-state, or adjust the index-state to be <= the locked CHaP snapshot time.

Suggested change
, cardano-haskell-packages 2026-03-30T12:55:49Z
, cardano-haskell-packages 2026-03-30T11:49:31Z

Copilot uses AI. Check for mistakes.
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.

2 participants