Skip to content

Add herald to the development shell - #1400

Merged
palas merged 1 commit into
masterfrom
add-herald-to-dev-shell
Jul 27, 2026
Merged

Add herald to the development shell#1400
palas merged 1 commit into
masterfrom
add-herald-to-dev-shell

Conversation

@palas

@palas palas commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Context

cardano-api has herald in the nix developer shell, but cardano-cli doesn't. This PR addresses that.

How to trust this PR

Only tiny change to flake. The rest are flake.lock changes. So if CI builds, and the tool is available in the nix shell, it is a pretty safe change.

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
  • Changelog fragment added in .changes/

Changelog fragments are expected in every PR (see the PR template), but
herald was so far only available through `nix run
github:input-output-hk/cardano-dev#herald`. Provide it in the devshell
the same way cardano-api does, via the cardano-dev flake.
@palas palas self-assigned this Jul 25, 2026
Copilot AI review requested due to automatic review settings July 25, 2026 00:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the herald changelog-fragment tool to cardano-cli’s Nix development shell by pulling it from the cardano-dev flake, aligning the devshell experience with cardano-api.

Changes:

  • Add cardano-dev as a flake input and include herald in nativeBuildInputs for the devshell.
  • Update flake.lock to account for the new flake input and its resolved dependency graph.
  • Add a changelog fragment documenting the maintenance change.

Reviewed changes

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

File Description
flake.nix Adds cardano-dev input and wires herald into the devshell nativeBuildInputs.
flake.lock Locks the newly introduced cardano-dev input and related dependency resolutions.
.changes/20260724_235840_cardano-cli_pablo.lamela_add_herald_to_devshell.yml Adds a changelog fragment for the devshell tooling update.

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

Comment thread flake.nix
incl.url = "github:divnix/incl";
flake-utils.url = "github:hamishmack/flake-utils/hkm/nested-hydraJobs";
pre-commit-hooks.url = "github:cachix/git-hooks.nix";
cardano-dev.url = "github:input-output-hk/cardano-dev";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suppose this is a good idea. But herald is already cached on cache.iog.io, and I've trimmed down the closure so it should not be that big input-output-hk/cardano-dev#31 . I guess what I'm saying, that's this might be not that beneficial change as it looks at the first glance.

@palas
palas added this pull request to the merge queue Jul 27, 2026
Merged via the queue into master with commit b586812 Jul 27, 2026
26 checks passed
@palas
palas deleted the add-herald-to-dev-shell branch July 27, 2026 22:20
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.

4 participants