Commit graph

1341 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
R. RyanTM 140f037faf xbps: 0.57.1 -> 0.58 2020-02-09 10:01:02 +01:00
Sondre Nilsen 1be0698618
cargo-edit: 0.4.2 -> 0.5.0 2020-02-06 20:43:53 +01:00
Maximilian Bosch e94e5cd03f
Merge pull request #78647 from MetaDark/protontricks
protontricks: 1.3.1 -> 1.4
2020-02-05 09:30:18 +01:00
Tom Hall eb0c48b1c2 mynewt-newt: patch to fix failure running upgrade on mcuboot 2020-01-31 17:58:05 +00:00
Tom Hall 9a205f8ab6 mynewt-newt: 1.3.0 -> 1.7.0, use buildGoModule 2020-01-31 17:58:05 +00:00
Evan Stoll 9a9bb4f9b0 cargo-about: 0.1.1 -> 0.2.0 2020-01-28 13:05:27 -05:00
MetaDark 28d361ae3c protontricks: 1.3.1 -> 1.4
- Specify SETUPTOOLS_SCM_PRETEND_VERSION to workaround missing .git
- Start running tests that were introduced in 1.3
2020-01-27 19:41:58 -05:00
Maximilian Bosch f71cc3eb7a
cargo-tree: 0.27.0 -> 0.28.0 2020-01-26 20:11:58 +01:00
Marek Mahut 34996ef30c
Merge pull request #78107 from 1000101/morph
morph: add openssh to PATH
2020-01-26 14:22:06 +01:00
Jan Hrnko 7ccb1dbb41 morph: add openssh to PATH 2020-01-21 18:44:35 +01:00
Evan Stoll ac6524dc7f cargo-about: init at 0.1.1 2020-01-21 10:42:06 -05:00
Mario Rodas 4a5c337397
nfpm: 1.1.8 -> 1.1.10 2020-01-19 20:20:20 -05:00
Mario Rodas f13b85643b
Merge pull request #77889 from r-ryantm/auto-update/nix-bundle
nix-bundle: 0.2.0 -> 0.3.0
2020-01-19 08:50:36 -05:00
Eric Norris e5d007e86a
rpm: fix helper script paths 2020-01-18 15:59:30 -05:00
Will Dietz b873eb7317 packagekit: 1.1.12 -> 1.1.13 (#77498)
* packagekit: 1.1.12 -> 1.1.13

https://github.com/hughsie/PackageKit/blob/PACKAGEKIT_1_1_13/NEWS

* packagekit: set systemd user unit dir, minor touchups

While visiting:
* drop trailing slash in system unit dir
* prefer placeholder over escaping

* packagekit: dbus dir fixup (thanks @worldofpeace!)

Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
2020-01-18 08:34:18 -05:00
R. RyanTM a58a6de1b4 nix-bundle: 0.2.0 -> 0.3.0 2020-01-17 08:49:43 +00:00
Marek Mahut 9660e1211c
Merge pull request #77810 from peterhoeg/fix_nix_prefetch_contrib
nix-prefetch: 0.1.0 -> 0.3.0
2020-01-16 23:21:46 +01:00
Peter Hoeg bec2162099 nix-prefetch: 0.1.0 -> 0.3.0 2020-01-16 17:17:00 +08:00
Frederik Rietdijk 1a654573b0 Merge master into staging-next 2020-01-11 09:32:41 +01:00
Mario Rodas 6bd6f26835
Merge pull request #77369 from filalex77/cargo-deb-1.23.1
cargo-deb: 1.23.0 -> 1.23.1
2020-01-10 20:30:12 -05:00
Frederik Rietdijk 348eaa280b Merge master into staging-next 2020-01-10 18:32:07 +01:00
Florian Klink e735ef2fbd morph: 1.3.1 -> 1.4.0 2020-01-10 11:57:53 +01:00
Frederik Rietdijk 5ad16cb27f Merge master into staging-next 2020-01-10 10:34:04 +01:00
Oleksii Filonenko 8ab57a2bb4
cargo-deb: 1.23.0 -> 1.23.1 2020-01-09 15:32:11 +02:00
Oleksii Filonenko 7d93381ced emplace: 0.2.8 -> 0.2.10 (#76581)
* emplace: 0.2.8 -> 0.2.9

* emplace: 0.2.9 -> 0.2.10
2020-01-09 13:57:14 +01:00
worldofpeace 2206d51bd8
Merge pull request #77334 from lopsided98/pacman-m4-dep
pacman: fix script generation
2020-01-08 20:33:32 -05:00
Vladimír Čunát 5c780036c5
Merge branch 'master' into staging-next
The nss rebuild isn't so small.
2020-01-08 22:48:13 +01:00
Sander van der Burg 3f0fee752d disnix: 0.9 -> 0.9.1 2020-01-08 22:12:16 +01:00
Ben Wolsieffer 7066dc9fec pacman: fix script generation
Without m4, the bash scripts (makepkg, repo-add, etc.) would be installed as
empty files.
2020-01-08 14:38:00 -05:00
Frederik Rietdijk a823616723 Merge master into staging-next 2020-01-07 20:06:22 +01:00
Pascal Wittmann 60abbbb182
Merge pull request #77171 from r-ryantm/auto-update/opkg
opkg: 0.4.1 -> 0.4.2
2020-01-07 11:25:34 +01:00
R. RyanTM c755f046a6 opkg: 0.4.1 -> 0.4.2 2020-01-06 19:59:32 -08:00
Timo Kaufmann 5e9a3f4e4d home-manager: 2019-11-17 -> 2020-01-04 2020-01-06 21:24:32 +01: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
Eelco Dolstra 0ec8c3bb12 Revert "nix: build using gcc8"
This reverts commit 7ac90533a1.
2020-01-05 20:42:44 +01:00
Eelco Dolstra 3b15451291
nix: 2.3.1 -> 2.3.2 2020-01-05 20:35:43 +01:00
markuskowa 8f15042c41
Merge pull request #76404 from r-ryantm/auto-update/reuse
reuse: 0.6.0 -> 0.7.0
2020-01-04 13:59:47 +01:00
Daiderd Jordan 7ac90533a1
nix: build using gcc8
Workaround for https://github.com/NixOS/nix/issues/3300.

https://hydra.nixos.org/build/109304568

    running tests
    checking Nixpkgs on i686-linux
    error: stack overflow (possible infinite recursion)
    build time elapsed:  0m0.068s 0m0.029s 0m36.549s 0m6.187s
    builder for '/nix/store/dr5kd28msqmqk3hkz0ayx10dww6s8dn9-nixpkgs-tarball-20.03pre207974.16c665911fb.drv' failed with exit code 1
2020-01-03 17:04:10 +01:00
Frederik Rietdijk 7aa2b0215b Merge master into staging-next 2020-01-03 10:25:14 +01:00
Maximilian Bosch ac62ee848e
cargo-release: 0.12.4 -> 0.13.0
https://github.com/sunng87/cargo-release/releases/tag/v0.13.0
2020-01-02 22:12:03 +01:00
Jan Tojnar 0c2adc0fb1
Merge branch 'staging' into staging-next 2019-12-31 03:59:58 +01:00
Robin Gloster 313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Jonathan Ringer 446fec8c2d
Merge branch 'master' of github.com:NixOS/nixpkgs into staging-next 2019-12-30 10:14:18 -08:00
Andrew Childs 209d700da4 nix: fix build on armv5tel-linux 2019-12-30 17:21:39 +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
Jan Tojnar c16bcf71ec
packagekit: switch to python 3 2019-12-29 11:21:09 +01:00
R. RyanTM b2ad20d5b5 reuse: 0.6.0 -> 0.7.0 2019-12-24 06:38:51 -08:00