nixpkgs/pkgs
Yurii Rashkovskii e1aecec4cd
build-support/rust: make use of abandoned cargoUpdateHook
Previously, cargoUpdateHook was meaningful as it was used
in
[`cargo-fetch-deps`](19d3cf81d3/pkgs/build-support/rust/fetch-cargo-deps (L71)).

However, this entire file was removed in
5f8cf0048e. As far as I can
tell, nothing in the code is using it, but it is still
being passed around:
https://github.com/NixOS/nixpkgs/search?q=cargoUpdateHook&type=Code&utf8=%E2%9C%93

There are, however, legitimate use cases for it. For example,
in some software, some dependencies are not locked in Cargo.toml
and this causes Cargo to try fetching another version of them.
This doesn't work well with vendoring crates.

This hook allows to inject patching or whatever necessary workarounds
in the crate vendoring process. I suppose that's what it was for
in there in the first place.

This patch restores this hook and makes it usable again.
2018-02-23 11:17:03 +07:00
..
applications Merge pull request #32323 from caugner/nextcloud-2.3.3 2018-02-22 23:36:01 +00:00
build-support build-support/rust: make use of abandoned cargoUpdateHook 2018-02-23 11:17:03 +07:00
common-updater update-source-version: Fix regex metacharacter 2018-02-17 22:34:12 +02:00
data Merge pull request #35137 from volth/patch-88 2018-02-20 15:49:51 +00:00
desktops xdg-desktop-portal-kde: init at 5.12.1 2018-02-22 16:01:28 +08:00
development Merge pull request #35330 from Mic92/go 2018-02-22 23:00:23 +00:00
games openra: 20171014 -> 20180218 2018-02-21 00:27:31 +01:00
misc Merge pull request #35134 from xeji/mfcl2720dw 2018-02-21 10:28:24 +00:00
os-specific linux: 4.15.4 -> 4.15.5 2018-02-22 20:35:59 -05:00
servers rabbitmq: 3.6.10 -> 3.6.15 (and various improvements) 2018-02-22 17:04:20 +01:00
shells define top-level attrs for getent, getconf 2018-02-13 11:47:16 -06:00
stdenv Merge branch 'master' into staging 2018-02-20 20:33:40 +01:00
test sierra-shared-test: fix build 2018-01-05 23:20:55 +01:00
tools Merge pull request #35365 from dywedir/tectonic 2018-02-22 23:20:46 +00:00
top-level Merge pull request #35356 from troydm/master 2018-02-22 23:46:35 +00:00