3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system
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
..
acct
acpica-tools acpica-tools,iasl: 20191213 -> 20200110 2020-01-10 23:53:06 -06:00
actkbd
amtterm treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
at treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
augeas maintainer-list.nix: remove ndowens 2019-12-26 16:47:41 -05:00
awstats buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
bar treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
bfs bfs: 1.5.1 -> 1.5.2 2020-01-15 06:55:24 +00:00
chase treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
clinfo clinfo: fix build with gcc9 2019-11-03 14:26:33 +01:00
collectd net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
colorls treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
confd treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
consul-template treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
cron
ctop ctop: 0.7.2 -> 0.7.3 2020-01-04 04:20:00 -05:00
daemon treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
daemonize treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
das_watchdog treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
datefudge datefudge: 1.22 -> 1.23 2019-09-10 10:00:11 +02:00
dcfldd
dd_rescue treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ddrescue
ddrescueview gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
ddrutility treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
dfc treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
di di: 4.47.2 -> 4.47.3 2020-01-06 00:24:56 -08:00
dog treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
efibootmgr treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
efivar efivar: fix build with gcc9 2019-11-02 18:00:17 +01:00
envconsul treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
evemu treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
facter facter: 3.14.6 -> 3.14.7 (#78083) 2020-01-20 22:10:24 +01:00
fakechroot fakechroot: 2.19 -> 2.20.1, prefer patch and official source over "fork" 2019-06-04 15:33:06 -05:00
fakeroot Treewide: replace last refs to alioth.debian.org 2019-11-16 11:32:05 +01:00
fcron treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
fdisk
fio fio: 3.17 -> 3.18 2020-02-08 03:58:00 +00:00
foreman
foremost treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
freeipmi Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
gdmap treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
gohai treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
goreman treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gotop gotop: 2.0.1 -> 3.0.0 (#58615) 2019-04-10 22:22:48 +02:00
gptfdisk treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gt5
hardinfo hardinfo: restrict to x86 linux platforms 2019-11-16 16:25:07 +01:00
hardlink treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
hiera-eyaml hiera-eyaml: 2.1.0 -> 3.0.0 (#65692) 2019-08-01 14:16:24 -07:00
honcho
htop htop: switch to python 3 2019-12-29 11:21:08 +01:00
hwinfo hwinfo: 21.67 -> 21.68 2020-01-21 16:51:30 +00:00
idle3tools
illum treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
incron
inxi inxi: 3.0.36-1 -> 3.0.37-1 2019-11-29 13:14:25 +01:00
ioping ioping: 1.1 -> 1.2 2020-02-06 08:47:33 +00:00
iops treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ior treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
ipmitool treewide: fix *Flags 2019-12-30 04:50:37 +01:00
ipmiutil ipmiutil: 3.1.4 -> 3.1.5 2019-12-08 03:11:30 -08:00
java-service-wrapper java-service-wrapper: 3.5.41 -> 3.5.42 2020-02-08 12:04:17 +00:00
journalwatch journalwatch: use fetchFromGitHub for normalization 2019-04-24 21:26:27 +02:00
jump jump: 0.30.0 -> 0.30.1 2020-02-07 11:23:29 +00:00
krakenx
ledmon ledmon: fix manpage 2019-04-26 19:47:41 +02:00
loadwatch
localtime localtime: use upstream unit and fix polkit rule installation 2019-06-19 11:07:44 +01:00
logcheck Treewide: replace last refs to alioth.debian.org 2019-11-16 11:32:05 +01:00
logrotate logrotate: 3.15.0 -> 3.15.1 2019-09-26 19:15:47 -07:00
lr lr: 1.5 -> 1.5.1 2020-02-08 17:04:34 +00:00
lshw lshw: fix cross-compilation 2019-09-15 15:36:31 +02:00
mcron
memtester treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
minijail Merge pull request #74860 from alyssais/minijail 2019-12-17 14:48:02 -05:00
monit monit: 5.25.3 -> 5.26.0 2019-07-15 14:58:38 -07:00
mq-cli treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
netdata Merge master into staging-next 2020-01-02 21:41:13 +01:00
nq treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
nvtop treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
opencl-info treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
pciutils pciutils: 3.6.2 -> 3.6.4 2020-01-27 13:15:09 +00:00
pcstat treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
plan9port plan9port: remove cf-private 2019-12-27 18:36:03 +01:00
procodile bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00
proot Treewide: fix URL permanent redirects 2019-11-16 01:41:23 +01:00
ps_mem ps_mem: 3.12 -> 3.13 2019-11-03 10:08:40 +01:00
psensor treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
psstop treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
r10k bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00
rofi-systemd treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
rowhammer-test treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
rsyslog rsyslog: add nixos tests to passthru.tests 2020-02-06 22:04:45 +01:00
runit Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
s-tui s-tui: 0.8.3 -> 1.0.0 2020-01-22 17:21:42 +01:00
s6 skawarePackages: bump to release 2019-10 2019-10-28 21:30:30 +01:00
s6-rc skawarePackages: bump to release 2019-10 2019-10-28 21:30:30 +01:00
safe-rm treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
safecopy
setserial treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
sg3_utils
sleuthkit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
smartmontools treewide: name -> pname 2019-08-17 10:54:38 +00:00
socklog treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
storebrowse
stress
stress-ng stress-ng: 0.10.14 -> 0.10.16 2020-01-30 11:09:03 +00:00
suid-chroot treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
supervise treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
symlinks treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
syslog-ng syslogng: 3.24.1 -> 3.25.1 2020-02-09 09:54:53 +01:00
syslog-ng-incubator Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
systemd-journal2gelf systemd-journal2gelf: use buildGoPackage 2019-09-21 04:29:00 -05:00
testdisk treewide: fix types for mkDerivation params 2019-12-31 01:23:19 +01:00
thermald thermald: 1.9 -> 1.9.1 2019-12-09 14:33:23 -08:00
thinkfan addressing remarks from @peterhoeg ( thinkfan: 0.9.3 -> 1.0.2) 2019-09-29 23:59:13 +02:00
throttled throttled: init at 0.6 2019-06-03 17:46:53 +01:00
tm
tre-command fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
tree treewide: name -> pname 2019-08-17 10:54:38 +00:00
ts
uefitool uefitool: init at A56 and 0.27.0 2020-01-05 19:24:10 +01:00
undaemonize
uptimed uptimed: 0.4.1 -> 0.4.2 2019-09-29 00:12:18 -07:00
vbetool treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
vboot_reference Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
which treewide: add some missing meta: descriptions and homepages (#70497) 2019-10-06 00:59:26 -04:00
wsmancli treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
xe treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
yeshup Fix package metadata like version and homepage 2019-11-07 17:20:33 +01:00
ytop ytop: init at 0.4.0 2020-02-02 11:34:02 +03:00