nixpkgs-suyu/pkgs/tools
Benjamin Hipple 2115a2037c fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
This has several advantages:

1. It takes up less space on disk in-between builds in the nix store.
2. It uses less space in the binary cache for vendor derivation packages.
3. It uses less network traffic downloading from the binary cache.
4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only
   substitute --flat hashes on single files (not recursive directory hashes).
5. It's consistent with how simple `fetchurl` src derivations work.
6. It provides a stronger abstraction between input src-package and output
   package, e.g., it's harder to accidentally depend on the src derivation at
   runtime by referencing something like `${src}/etc/index.html`. Likewise, in
   the store it's harder to get confused with something that is just there as a
   build-time dependency vs. a runtime dependency, since the build-time
   src dependencies are tarred up.

Disadvantages are:
1. It takes slightly longer to untar at the start of a build.

As currently implemented, this attaches the compacted vendor.tar.gz feature as a
rider on `verifyCargoDeps`, since both of them are relatively newly implemented
behavior that change the `cargoSha256`.

If this PR is accepted, I will push forward the remaining rust packages with a
series of treewide PRs to update the `cargoSha256`s.
2020-02-10 10:17:29 -05:00
..
admin Merge master into staging-next 2020-02-10 12:55:47 +01:00
archivers Merge #66528: glibc: 2.27 -> 2.30 (into staging) 2020-02-05 13:41:09 +01:00
audio abcmidi: 2019.11.11 -> 2019.12.09 2020-02-09 09:57:17 +01:00
backup Merge pull request #72060 from lopsided98/sanoid-init 2020-02-10 01:28:41 +01:00
bluetooth bluez-alsa: 1.4.0 -> 2.0.0 2020-01-13 19:23:48 +01:00
bootloaders/refind
cd-dvd unetbootin: 675 -> 677 2020-02-09 09:59:57 +01:00
compression Merge master into staging-next 2020-02-09 11:00:29 +01:00
filesystems reiserfsprogs: fixup build with glibc-2.30 2020-02-10 09:46:33 +01:00
graphics wdisplays: 2019-10-26 -> 2020-01-12 2020-02-09 20:30:34 +01:00
inputmethods ibus-engines.typing-booster-unwrapped: 2.7.4 -> 2.7.5 2020-02-09 09:53:33 +01:00
misc fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
networking Merge master into staging-next 2020-02-10 12:55:47 +01:00
nix
package-management fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
security fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
system fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
text Merge staging into staging-next 2020-02-09 16:38:32 +01:00
toml2nix
typesetting texlive: poppler 0.84 fix, patch from gentoo 2020-02-03 09:58:44 -08:00
video rav1e: 0.2.1 -> 0.3.0 2020-02-07 16:03:19 +01:00
virtualization cri-tools: 1.16.1 -> v1.17.0 2019-12-16 09:48:03 +01:00
wayland/ydotool
X11 wpgtk: 6.0.11 -> 6.0.12 2020-02-06 20:14:45 +01:00