Repository navigation
cargo-semver-checks: fix build - #563137
Conversation
✅
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
The cargo-semver-checks 0.50.0 derivation in the locked nixpkgs-unstable fails its own snapshot tests because the check phase cannot create a cache directory under HOME. That breaks building the release devShell, and with it the check-bump CI job. Add writableTmpDirAsHomeHook to its check inputs, as the open upstream fix NixOS/nixpkgs#563137 does. Once the lock picks up that fix the override is a no-op and can be removed.
|
matthiasbeyer
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
|
@NixOS/nixpkgs-merge-bot merge |
|
@matthiasbeyer wants to merge this PR. Requirements to merge this PR with
|
nixpkgs 0a3468a ships cargo-semver-checks 0.50.0 whose checkPhase fails in the sandbox (no writable HOME for its cache dir), breaking the dev shell. NixOS/nixpkgs#563137 fixes it; 3181085 includes that fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The cargo-semver-checks 0.50.0 derivation in the locked nixpkgs-unstable fails its own snapshot tests because the check phase cannot create a cache directory under HOME. That breaks building the release devShell, and with it the check-bump CI job. Add writableTmpDirAsHomeHook to its check inputs, as the open upstream fix NixOS/nixpkgs#563137 does. Once the lock picks up that fix the override is a no-op and can be removed.
Fixes #562952
I'm not sure what caused this build failure to suddenly pop up now, but ensuring a writable home directory for the tests fixes it.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.