nixpkgs/pkgs
Justin Humm b66ef28841 buildRustPackage, fetchcargo: optionally use vendor config from cargo-vendor
By setting useRealVendorConfig explicitly to true, the actual (slightly
modified) config generated by cargo-vendor is used.

This solves a problem, where the static vendor config in
pkgs/build-support/rust/default.nix would not sufficiently replace all
crates Cargo is looking for.

As useRealVendorConfig (and writeVendorConfig in fetchcargo) default to
false, there should be no breakage in existing cargoSha256 hashes.

Nethertheless, imho using this new feature should become standard. A
possible deprecation path could be:

- introduce this patch
- set useRealVendorConfig explicitly to false whereever cargoSha256 is
  set but migration is not wanted yet.
- after some time, let writeVendorConfig default to true
- when useRealVendorConfig is true everywhere cargoSha256 is set and
  enough time is passed, `assert cargoVendorDir == null ->
  useRealVendorConfig;`, remove old behaviour
- after some time, remove all appearences of useRealVendorConfig and the
  parameter itself
2018-09-11 23:44:14 +02:00
..
applications Merge pull request #46404 from oxij/pkgs/default-texinfo 2018-09-09 12:04:28 +02:00
build-support buildRustPackage, fetchcargo: optionally use vendor config from cargo-vendor 2018-09-11 23:44:14 +02:00
common-updater
data Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
desktops Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
development Merge #46259: libdrm: 2.4.93 -> 2.4.94 2018-09-10 09:14:14 +02:00
games chessx: fix build (#46359) 2018-09-08 14:19:24 +02:00
misc yabause: 0.9.14 -> 0.9.15 (#46353) 2018-09-08 13:58:50 +02:00
os-specific Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
servers sks: Adapt the package to NixOS (pkgs.db provides only "db_stat") 2018-09-08 16:24:05 +02:00
shells zsh: 5.5.1 -> 5.6 (#46052) 2018-09-04 23:32:43 +02:00
stdenv Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
test pkgs/tests: Add test for LD_LIBRARY_PATH 2018-08-01 19:02:21 +03:00
tools Merge pull request #46542 from obsidiansystems/dhcpcd-cleanup 2018-09-11 16:40:38 -04:00
top-level Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00