Commit Graph

21 Commits

Author SHA1 Message Date
Benjamin Hipple
131a32a5af rust: update docs on legacyCargoFetcher; remove unnecessary defaults
As mentioned in #79975, the default on `legacyCargoFetcher` if left unspecified
is now `false`.
2020-02-15 22:07:47 -08:00
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
Mario Rodas
bc2336898f
broot: 0.12.2 -> 0.13.1 (#79565)
Changelog:
  - https://github.com/Canop/broot/releases/tag/v0.13.0
  - https://github.com/Canop/broot/releases/tag/v0.13.1
2020-02-09 10:10:57 +01:00
Mario Rodas
bc5f6ff819
broot: 0.12.0 -> 0.12.2 2020-01-31 04:20:00 -05:00
Mario Rodas
dfaae48381
broot: 0.11.9 -> 0.12.0 2020-01-23 04:20:00 -05:00
Will Dietz
567655c200
broot: 0.11.8 -> 0.11.9, verifyCargoDeps
https://github.com/Canop/broot/releases/tag/v0.11.9
2020-01-16 22:38:12 -06:00
Evan Stoll
ba820a4f77 broot: 0.10.2 -> 0.11.8 2020-01-12 16:10:42 -05:00
Evan Stoll
68a5f9f073 broot: install newly-added shell completions
- add installShellFiles dependency
2020-01-12 16:09:55 -05:00
Evan Stoll
22674e9b43 broot: fix hardlinks during postPatch phase
- add coreutils dependency
2020-01-12 15:55:56 -05:00
Will Dietz
3344f3e184 broot: 0.9.4 -> 0.10.2
https://github.com/Canop/broot/releases/tag/v0.9.5
https://github.com/Canop/broot/releases/tag/v0.9.6
https://github.com/Canop/broot/releases/tag/v0.10.0
https://github.com/Canop/broot/releases/tag/v0.10.1
https://github.com/Canop/broot/releases/tag/v0.10.2
2019-11-16 01:24:31 -06:00
Vladyslav M
2f4fffd9c9
broot: 0.9.0 -> 0.9.4 2019-09-14 13:01:48 +03:00
Vladyslav M
98a0dcefbf
broot: 0.8.0 -> 0.9.0 2019-07-19 16:10:00 +03:00
Will Dietz
15476fc623
broot: 0.7.5 -> 0.8.0 2019-06-09 22:09:41 -05:00
Alyssa Ross
062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Will Dietz
16c595933a broot: 0.7.4 -> 0.7.5 2019-04-05 15:40:09 -05:00
Vladyslav M
167eb23d26
broot: 0.7.2 -> 0.7.4 2019-03-26 00:28:01 +02:00
dywedir
bfde6ffd26
broot: 0.7.1 -> 0.7.2 2019-03-15 23:38:44 +02:00
Will Dietz
d9c588f6d7 broot: 0.7.0 -> 0.7.1 2019-03-09 18:52:21 -06:00
Will Dietz
d2702cf81d broot: 0.6.3 -> 0.7.0 2019-03-07 16:44:01 -06:00
Will Dietz
277314c608 broot: 0.6.0 -> 0.6.3 2019-02-28 09:55:09 -06:00
Bart Brouns
4a82f6ac58 broot: init at 0.6.0 2019-02-14 23:20:19 -05:00