Skip to content

rustPlatform.fetchCargoVendor: set a custom User-Agent#512735

Merged
emilazy merged 3 commits into
NixOS:masterfrom
andresilva:rust-fetch-cargo-vendor-user-agent
Apr 26, 2026
Merged

rustPlatform.fetchCargoVendor: set a custom User-Agent#512735
emilazy merged 3 commits into
NixOS:masterfrom
andresilva:rust-fetch-cargo-vendor-user-agent

rustPlatform.fetchCargoVendor: use static.crates.io in v2

46c5952
Select commit
Loading
Failed to load commit list.
OfBorg / rustPlatform.fetchCargoVendor, rustPlatform.fetchCargoVendor.passthru.tests on x86_64-linux skipped Apr 24, 2026

No attempt

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

Details

Partial log

           51|   name ? if args ? pname && args ? version then "${args.pname}-${args.version}" else "cargo-deps",
           52|   hash ? (throw "fetchCargoVendor requires a `hash` value to be set for ${name}"),
             |           ^
           53|   nativeBuildInputs ? [ ],

       error: fetchCargoVendor requires a `hash` value to be set for cargo-deps

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