Skip to content

rustPlatform.buildRustPackage: Pass env.RUSTFLAGS only when specified or needed to fix builds - #464707

Merged
alyssais merged 1 commit into
NixOS:stagingfrom
ShamrockLee:build-rust-package-rustflags-unshadow
Nov 30, 2025
Merged

rustPlatform.buildRustPackage: Pass env.RUSTFLAGS only when specified or needed to fix builds#464707
alyssais merged 1 commit into
NixOS:stagingfrom
ShamrockLee:build-rust-package-rustflags-unshadow

rustPlatform.buildRustPackage: Pass env.RUSTFLAGS only when specified…

978d298
Select commit
Loading
Failed to load commit list.
OfBorg / rustPlatform.buildRustPackage, rustPlatform.buildRustPackage.passthru.tests on x86_64-linux skipped Nov 27, 2025 in 0s

No attempt

The following builds were skipped because they don't evaluate on x86_64-linux: rustPlatform.buildRustPackage, rustPlatform.buildRustPackage.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