1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
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
at
augeas maintainer-list.nix: remove ndowens 2019-12-26 16:47:41 -05:00
awstats
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
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
consul-template
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
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
ddrescue
ddrescueview
ddrutility
dfc
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
efivar efivar: fix build with gcc9 2019-11-02 18:00:17 +01:00
envconsul
evemu
facter facter: 3.14.6 -> 3.14.7 (#78083) 2020-01-20 22:10:24 +01:00
fakechroot
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
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
goreman
gotop
gptfdisk
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
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
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
jump jump: 0.30.0 -> 0.30.1 2020-02-07 11:23:29 +00:00
krakenx
ledmon
loadwatch
localtime
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
minijail Merge pull request #74860 from alyssais/minijail 2019-12-17 14:48:02 -05:00
monit
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
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
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
psstop
r10k
rofi-systemd
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
safecopy
setserial treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
sg3_utils
sleuthkit
smartmontools
socklog
storebrowse
stress
stress-ng stress-ng: 0.10.14 -> 0.10.16 2020-01-30 11:09:03 +00:00
suid-chroot
supervise
symlinks
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
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
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
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
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