Commit Graph

10705 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
Frederik Rietdijk d9eb897edd Merge staging-next into staging 2020-02-10 13:02:53 +01:00
Frederik Rietdijk ec3edaf7b5 Merge master into staging-next 2020-02-10 12:55:47 +01:00
Mario Rodas 9a329b1dee Merge pull request #79678 from marsam/update-buildkit
buildkit: 0.4.0 -> 0.6.3
2020-02-10 05:51:06 -05:00
Christian Kauhaus b2abf36467 Merge pull request #72108 from jD91mZM2/scaff
scaff: init at 0.1.1
2020-02-10 10:55:23 +01:00
Antonio Nuno Monteiro 990f64d5d7 ocamlformat: fix 0.13.0 URL 2020-02-10 07:34:52 +01:00
Tobias Mayer 3a39ea06d2 ninja: 1.9.0 -> 1.10.0 2020-02-09 16:57:56 -06:00
R. RyanTM f8e7fec814 babeltrace: 1.5.7 -> 1.5.8 2020-02-09 16:53:11 +01:00
R. RyanTM 802e1917b8 kcli: 1.8.2 -> 1.8.3 2020-02-09 16:52:05 +01:00
Frederik Rietdijk cffec212dc Merge staging into staging-next 2020-02-09 16:38:32 +01:00
Frederik Rietdijk 531a48ebdb Merge master into staging-next 2020-02-09 11:00:29 +01:00
Mario Rodas 5fb378b5c5
buildkit: add marsam to maintainers 2020-02-09 04:21:00 -05:00
Mario Rodas 9fb1996925
buildkit: 0.4.0 -> 0.6.3 2020-02-09 04:20:00 -05:00
R. RyanTM 7daa7310bd sslmate: 1.7.0 -> 1.7.1 2020-02-09 10:01:30 +01:00
R. RyanTM e591b57bd5 asn2quickder: 1.2-6 -> 1.3.0 2020-02-09 09:50:48 +01:00
Frederik Rietdijk 8847d57763 Merge staging-next into staging 2020-02-09 09:18:17 +01:00
Frederik Rietdijk 03755ed59a Merge master into staging-next 2020-02-09 09:17:51 +01:00
R. RyanTM 27cac321d4 bison: 3.5 -> 3.5.1 2020-02-09 09:00:48 +01:00
Emily fec5ada328 tinyprog: 1.0.24.dev99+ga77f828 -> 1.0.24.dev114+g0zbrvvb 2020-02-08 23:00:07 -06:00
Emily f43d9bf5ed trellis: 2019.10.13 -> 2020.02.04
This also fixes the package to actually install the databases required
for nextpnr, oops...
2020-02-08 23:00:07 -06:00
Emily c2fd1a9418 icestorm: use passthru attribute 2020-02-08 23:00:07 -06:00
Maximilian Bosch 1d6bf54807
Merge pull request #79387 from Ma27/bump-hydra
hydra: 2019-11-13 -> 2020-02-06
2020-02-08 22:27:27 +01:00
Ryan Mulligan 0d5411fc6d Merge pull request #79423 from r-ryantm/auto-update/codeql
codeql: 2.0.0 -> 2.0.2
2020-02-08 12:42:57 -08:00
Pascal Wittmann 0fce2522e1 Merge pull request #79470 from r-ryantm/auto-update/randoop
randoop: 3.1.5 -> 4.2.1
2020-02-08 20:06:03 +01:00
Mario Rodas e453de05b8 Merge pull request #79413 from r-ryantm/auto-update/checkstyle
checkstyle: 8.28 -> 8.29
2020-02-08 10:52:06 -05:00
Mario Rodas c113e67d50
Merge pull request #79519 from r-ryantm/auto-update/flyway
flyway: 6.1.3 -> 6.2.2
2020-02-08 10:40:42 -05:00
Mario Rodas dc8a307e3a Merge pull request #79480 from r-ryantm/auto-update/yarn
yarn: 1.21.1 -> 1.22.0
2020-02-08 06:19:38 -05:00
R. RyanTM 487d051d00 flyway: 6.1.3 -> 6.2.2 2020-02-08 09:08:38 +00:00
lewo 6c9e72a60a
Merge pull request #79486 from zowoq/buildah
buildah: 1.13.2 -> 1.14.0
2020-02-08 08:49:21 +01:00
lewo 68d1814042 Merge pull request #79487 from zowoq/skopeo
skopeo: 0.1.40 -> 0.1.41
2020-02-08 08:43:28 +01:00
zowoq 4e81e9bdcc buildah: 1.13.2 -> 1.14.0
https://github.com/containers/buildah/blob/v1.14.0/CHANGELOG.md#v1140-2020-02-05
2020-02-08 13:57:07 +10:00
zowoq 376743d3f2 skopeo: 0.1.40 -> 0.1.41
https://github.com/containers/skopeo/releases/tag/v0.1.41
2020-02-08 09:49:42 +10:00
Ryan Mulligan cfd4d4557a
Merge pull request #79434 from r-ryantm/auto-update/git-quick-stats
git-quick-stats: 2.0.12 -> 2.0.13
2020-02-07 14:07:09 -08:00
Ryan Mulligan ba9f78f43c
Merge pull request #79420 from r-ryantm/auto-update/clojure-lsp
clojure-lsp: 20200117T215443 -> 20200121T234305
2020-02-07 14:03:42 -08:00
R. RyanTM 4597d37149 yarn: 1.21.1 -> 1.22.0 2020-02-07 21:29:21 +00:00
Maximilian Bosch 87a8898a59
Merge pull request #79471 from r-ryantm/auto-update/sbt
sbt: 1.3.7 -> 1.3.8
2020-02-07 21:02:29 +01:00
R. RyanTM 2357a15348 sbt: 1.3.7 -> 1.3.8 2020-02-07 18:35:39 +00:00
Frederik Rietdijk 5c92c0921a Merge staging-next into staging 2020-02-07 19:28:16 +01:00
Frederik Rietdijk 30f0909e3a Merge master into staging-next 2020-02-07 19:27:52 +01:00
R. RyanTM fa646a2317 randoop: 3.1.5 -> 4.2.1 2020-02-07 18:05:07 +00:00
Mario Rodas 1beceeb4f4
Merge pull request #79444 from r-ryantm/auto-update/jtc
jtc: 1.75c -> 1.75d
2020-02-07 07:57:21 -05:00
R. RyanTM 435e758404 jtc: 1.75c -> 1.75d 2020-02-07 11:15:48 +00:00
Mario Rodas 7d2e818109
Merge pull request #79421 from r-ryantm/auto-update/cmake-format
cmake-format: 0.6.5 -> 0.6.8
2020-02-07 05:33:24 -05:00
R. RyanTM 5da89fa246 git-quick-stats: 2.0.12 -> 2.0.13 2020-02-07 09:28:26 +00:00
Mario Rodas a5c3e14785 dune_2: 2.1.3 -> 2.2.0
Changelog: https://github.com/ocaml/dune/releases/tag/2.2.0
2020-02-07 09:58:43 +01:00
R. RyanTM 9ae939fb8a codeql: 2.0.0 -> 2.0.2 2020-02-07 07:26:25 +00:00
R. RyanTM fc248a30dc cmake-format: 0.6.5 -> 0.6.8 2020-02-07 07:17:31 +00:00
R. RyanTM f961b117ba clojure-lsp: 20200117T215443 -> 20200121T234305 2020-02-07 07:10:36 +00:00
R. RyanTM 6cb37c8027 checkstyle: 8.28 -> 8.29 2020-02-07 04:24:02 +00:00
Kyle Ondy b2cc53e0b7
yq-go: 2.4.0 -> 3.1.0 2020-02-06 23:01:14 -05:00