nixpkgs/pkgs/build-support/rust
Daniël de Kok d92396039d buildRustPackage: add cargoDepsName attribute
The directory in the tarball of vendored dependencies contains `name`,
which is by default set to `${pname}-${version}`. This adds an
additional attribute to permit setting the name to something of the
user's choosing.

Since `cargoSha256`/`cargoHash` depend on the name of the directory of
vendored dependencies, `cargoDepsName` can be used to e.g. make the
hash invariant to the package version by setting `cargoDepsName =
pname`.
2021-02-15 07:06:31 +01:00
..
build-rust-crate tests.buildRustCrate: Fix after hashing method change 2020-12-19 19:05:07 +00:00
patch-registry-deps
sysroot add sysroot lockfile update script then run it 2020-10-17 01:34:51 -07:00
cargo-vendor-normalise.py
carnix.nix
crates-io.nix
default-crate-overrides.nix treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
default.nix buildRustPackage: add cargoDepsName attribute 2021-02-15 07:06:31 +01:00
fetchcargo-default-config.toml
fetchCargoTarball.nix treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
fetchcrate.nix