Skip to content

trace-resources: remove local package, use hermod-trace-resources from hermod-tracing#6603

Draft
jutaro wants to merge 2 commits into
masterfrom
jutaro/move_resources
Draft

trace-resources: remove local package, use hermod-trace-resources from hermod-tracing#6603
jutaro wants to merge 2 commits into
masterfrom
jutaro/move_resources

Conversation

@jutaro

@jutaro jutaro commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Removes the trace-resources local package from this repository. It now lives in IntersectMBO/hermod-tracing as hermod-trace-resources, alongside the trace-dispatcher package it depends on.

All import sites are updated to the new Hermod.Tracing.Resources.* module namespace.

Nix builds resolve the package via the hermod-tracing flake input and inputMap in nix/haskell.nix. A source-repository-package stanza in cabalProjectLocal (nix-only, never read by plain cabal) pins the commit. Plain cabal builds require a cabal.project.local entry pointing to a local checkout (see below); this will be dropped once hermod-trace-resources is published to CHaP.

Changes
Deleted: trace-resources/ directory (entire package)
cabal.project: remove trace-resources local package; add note about cabal.project.local for local cabal builds
flake.nix: add hermod-tracing flake input
nix/haskell.nix: add hermod-tracing to inputMap; move source-repository-package stanza into cabalProjectLocal (nix-only); rename "trace-resources" → "hermod-trace-resources" in profiled build list
4 .cabal files (cardano-node, cardano-tracer, locli, cardano-timeseries-io): trace-resources → hermod-trace-resources dependency
12 Haskell source files: Cardano.Logging.Resources.* imports → Hermod.Tracing.Resources.*
bench/trace-schemas/scripts/schema-gen/GhciSchemaGen.hs: update source path
.github/workflows/stylish-haskell.yml: remove trace-resources entry

nix develop --override-input hermod-tracing
"git+file:///path/to/hermod-tracing?rev=f94edf21d7df01f43e115e370f0a48fd00240003"

jutaro added 2 commits June 16, 2026 16:35
cabal.project: removed trace-resources local package, added source-repository-package pointing to hermod-tracing@f94edf21
flake.nix: added hermod-tracing flake input (branch without_contra_included)
nix/haskell.nix: added hermod-tracing to function args and inputMap, renamed "trace-resources" → "hermod-trace-resources" in profiled builds
4 dependent cabal files: trace-resources → hermod-trace-resources
12 Haskell source files: all Cardano.Logging.Resources imports → Hermod.Tracing.Resources
stylish-haskell.yml: removed trace-resources entry
GhciSchemaGen.hs: updated path to ../hermod-tracing/hermod-trace-resources/src
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