Skip to content

rustPlatform.buildRustPackage: miscelaneous modernization to unify unpackPhase and cargoDeps.unpackPhase#435278

Merged
ShamrockLee merged 2 commits into
NixOS:stagingfrom
ShamrockLee:build-rust-package-overriding-pre-staging
Nov 4, 2025
Merged

rustPlatform.buildRustPackage: miscelaneous modernization to unify unpackPhase and cargoDeps.unpackPhase#435278
ShamrockLee merged 2 commits into
NixOS:stagingfrom
ShamrockLee:build-rust-package-overriding-pre-staging

rustPlatform: run cargoDepsHook inside cargoSetupPostUnpackHook

cdb722f
Select commit
Loading
Failed to load commit list.
OfBorg / rustPlatform, rustPlatform.buildRustPackage, rustPlatform.buildRustPackage.passthru.tests, rustPlatform.passthru.tests on x86_64-linux skipped Nov 3, 2025

No attempt

The following builds were skipped because they don't evaluate on x86_64-linux: rustPlatform, rustPlatform.buildRustPackage, rustPlatform.buildRustPackage.passthru.tests, rustPlatform.passthru.tests

Details

Partial log


Cannot nix-instantiate `rustPlatform.buildRustPackage` because:
error: expression does not evaluate to a derivation (or a set or list of those)

Cannot nix-instantiate `rustPlatform.buildRustPackage.passthru.tests` because:
error: the expression selected by the selection path 'rustPlatform.buildRustPackage.passthru.tests' should be a set but is a function

Cannot nix-instantiate `rustPlatform.passthru.tests` because:
error: attribute 'passthru' in selection path 'rustPlatform.passthru.tests' not found