Commit graph

1713 commits

Author SHA1 Message Date
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
Michael Raskin 6763bdd858
Merge pull request #79318 from r-ryantm/auto-update/ioping
ioping: 1.1 -> 1.2
2020-02-09 11:52:45 +00:00
R. RyanTM 2f2b6b94f6 syslogng: 3.24.1 -> 3.25.1 2020-02-09 09:54:53 +01:00
Ryan Mulligan 0a901b4aa3 Merge pull request #79544 from r-ryantm/auto-update/lr
lr: 1.5 -> 1.5.1
2020-02-08 11:35:50 -08:00
R. RyanTM 53243c3a21 lr: 1.5 -> 1.5.1 2020-02-08 17:04:34 +00:00
markuskowa f1f8942554
Merge pull request #79529 from r-ryantm/auto-update/java-service-wrapper
java-service-wrapper: 3.5.41 -> 3.5.42
2020-02-08 14:02:03 +01:00
R. RyanTM ac3573112d java-service-wrapper: 3.5.41 -> 3.5.42 2020-02-08 12:04:17 +00:00
R. RyanTM e01145e5ec fio: 3.17 -> 3.18 2020-02-08 03:58:00 +00:00
Ryan Mulligan 117a105471
Merge pull request #79445 from r-ryantm/auto-update/jump
jump: 0.30.0 -> 0.30.1
2020-02-07 05:09:10 -08:00
R. RyanTM c86ea4ec60 jump: 0.30.0 -> 0.30.1 2020-02-07 11:23:29 +00:00
Frederik Rietdijk 13b0a6eaf1 rsyslog: add nixos tests to passthru.tests
ofborg does not build them yet, but at least nixpkgs-update does.
https://github.com/ryantm/nixpkgs-update/pull/118
Note this test passes and would not have detected
https://github.com/NixOS/nixpkgs/issues/79304
2020-02-06 22:04:45 +01:00
R. RyanTM 4071f15037 ioping: 1.1 -> 1.2 2020-02-06 08:47:33 +00:00
Mario Rodas c7458ab9ce
Merge pull request #79021 from sikmir/ytop
ytop: init at 0.4.0
2020-02-02 11:18:00 -05:00
Frederik Rietdijk c195ef6aab
Merge pull request #78928 from NixOS/staging-next
Staging next
2020-02-02 15:35:18 +01:00
Nikolay Korotkiy 43686160bc
ytop: init at 0.4.0 2020-02-02 11:34:02 +03:00
Mario Rodas e72c14a0a9
Merge pull request #78844 from r-ryantm/auto-update/stress-ng
stress-ng: 0.10.14 -> 0.10.16
2020-02-01 04:07:12 -05:00
Aaron Andersen 6ed34f1d29
Merge pull request #78824 from r-ryantm/auto-update/rsyslog
rsyslog: 8.1911.0 -> 8.2001.0
2020-01-31 06:26:34 -05:00
R. RyanTM ecb2967b84 jump: 0.23.0 -> 0.30.0 2020-01-30 21:50:22 -08:00
R. RyanTM 17748d37cd stress-ng: 0.10.14 -> 0.10.16 2020-01-30 11:09:03 +00:00
R. RyanTM 27dfbd55f8 rsyslog: 8.1911.0 -> 8.2001.0 2020-01-30 08:31:58 +00:00
Vladimír Čunát e8907eaea3
Merge #78604: pciutils: 3.6.2 -> 3.6.4 (into staging) 2020-01-28 15:10:14 +01:00
R. RyanTM 9ca9776d68 pciutils: 3.6.2 -> 3.6.4 2020-01-27 13:15:09 +00:00
Will Dietz 2cdb790df7
Merge pull request #77487 from dtzWill/update/acpica-iasl-20200110
acpica-tools,iasl: 20191213 -> 20200110
2020-01-26 16:48:19 -06:00
vasile luta da5bb025c6 rsyslog: include libmaxminddb 2020-01-23 22:23:09 +02:00
Maximilian Bosch 714860dd42
Merge pull request #78182 from r-ryantm/auto-update/hwinfo
hwinfo: 21.67 -> 21.68
2020-01-22 22:30:00 +01:00
Andrew Childs dc1d9a578d s-tui: 0.8.3 -> 1.0.0 2020-01-22 17:21:42 +01:00
R. RyanTM dbc61de005 hwinfo: 21.67 -> 21.68 2020-01-21 16:51:30 +00:00
R. RyanTM 651e73484e facter: 3.14.6 -> 3.14.7 (#78083) 2020-01-20 22:10:24 +01:00
R. RyanTM 13f08afb52 bfs: 1.5.1 -> 1.5.2 2020-01-15 06:55:24 +00:00
Will Dietz 3dd3376491
acpica-tools,iasl: 20191213 -> 20200110
Actually, we apparently managed to bump iasl separately
so acpica-tools are upgraded from 20191018.
2020-01-10 23:53:06 -06:00
Frederik Rietdijk a823616723 Merge master into staging-next 2020-01-07 20:06:22 +01:00
markuskowa 15b6bd41f6
Merge pull request #77018 from r-ryantm/auto-update/di
di: 4.47.2 -> 4.47.3
2020-01-06 12:50:36 +01:00
Mario Rodas ebd204ea75
Merge pull request #76957 from marsam/update-ctop
ctop: 0.7.2 -> 0.7.3
2020-01-06 06:24:39 -05:00
Frederik Rietdijk 4a91444aa8 Merge staging-next into staging 2020-01-06 12:01:12 +01:00
Frederik Rietdijk 8fff915659
Merge pull request #76488 from jtojnar/more-python-cleanups
Another batch of Python 2 clean-ups
2020-01-06 12:00:36 +01:00
R. RyanTM 11a4eb48df di: 4.47.2 -> 4.47.3 2020-01-06 00:24:56 -08:00
ajs124 65a2c708e7 uefitool: init at A56 and 0.27.0
default to new-engine
2020-01-05 19:24:10 +01:00
Mario Rodas 73600abd8d
ctop: 0.7.2 -> 0.7.3
Changelog: https://github.com/bcicen/ctop/releases/tag/v0.7.3
2020-01-04 04:20:00 -05:00
Mario Rodas c8ca9ac23c lr: 1.4.1 -> 1.5 2020-01-03 12:52:03 +00:00
Frederik Rietdijk f08e3e38d4 Merge master into staging-next 2020-01-02 21:41:13 +01:00
Jörg Thalheim a82f07cecf
netdata: 1.18.1 -> 1.19.0 (#75173)
netdata: 1.18.1 -> 1.19.0
2020-01-01 12:52:29 +00:00
Robin Gloster 006242fd5a
treewide: fix types for mkDerivation params 2019-12-31 01:23:19 +01:00
Robin Gloster 755db0b689
treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
Robin Gloster 65712df184
treewide: installTargets is a list 2019-12-31 00:17:42 +01:00
Robin Gloster 313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Robin Gloster 5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
Frederik Rietdijk 6d059becd3 Merge gcc-9 into staging (#68029) 2019-12-30 16:38:38 +01:00
Robin Gloster 2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
Merijn Broeren 133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Robin Gloster ac8eaa8507
treewide: fix *Flags 2019-12-30 04:50:37 +01:00