Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
dependency chains on non-Rust projects. Bringing back the old behavior (using
`remarshal`) can be done via `craneLibRemarshal = craneLib.overrideScope
(final: prev: { writeTOML = final.writeTOMLViaRemarshal; });`
* `buildDepsOnly` now allows the user to override the `pnameSuffix`
* `buildTrunkPackage` now adds a `-trunk` suffix to the name of dependency derivation

## [0.23.3] - 2026-04-16

Expand Down
2 changes: 1 addition & 1 deletion lib/buildDepsOnly.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mkCargoDerivation (
inherit doCheck;

src = dummySrc;
pnameSuffix = "-deps";
pnameSuffix = args.pnameSuffix or "-deps";
pname = args.pname or crateName.pname;
version = args.version or crateName.version;

Expand Down
1 change: 1 addition & 0 deletions lib/buildTrunkPackage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ mkCargoDerivation (
args.cargoArtifacts or (buildDepsOnly (
args
// {
pnameSuffix = "-trunk-deps";
CARGO_BUILD_TARGET = args.CARGO_BUILD_TARGET or "wasm32-unknown-unknown";
doCheck = args.doCheck or false;
}
Expand Down