3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management
Kevin Cox 5f8cf0048e rust: update cargo builder to fetch registry dynamically
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.

Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.

This also uses the new --frozen and --locked flags which is nice.

Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).

This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.

Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
2017-10-23 00:30:47 +01:00
..
apt apt: Rely on XML_CATALOG_FILES variable 2017-10-07 23:39:15 +02:00
cargo-edit rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
cde Changed fetchgit to fetchFromGitHub 2017-03-23 18:04:36 -05:00
checkinstall
clib clib: 1.7.0 -> 1.8.0 2017-08-12 20:39:32 +02:00
createrepo_c createrepo_c: add missing patches 2017-03-19 16:10:11 +01:00
disnix misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
dpkg dpkg: 1.18.18 -> 1.18.24 2017-08-14 14:00:12 +02:00
elm-github-install elm-github-install: init at 1.0.1 2017-06-30 10:22:18 +02:00
fpm fpm: fix vulnerable dependency 2017-02-02 22:58:43 +08:00
gx gx: 20160601-f84ddf7 -> 0.12.0 2017-07-07 08:17:21 -07:00
librepo librepo: 1.7.20 -> 1.8.1 2017-10-21 19:17:28 +02:00
mynewt-newt mynewt-newt: disable darwin 2017-05-20 10:40:08 +01:00
niff niff: init at 0.1 2017-09-17 15:37:35 +02:00
nix nixUnstable: Bump for nix-shell interpreter bugfix 2017-10-19 19:25:08 -04:00
nix-bundle nix-bundle: 0.1.2 → 0.2.0 2017-10-13 14:22:41 -05:00
nix-index rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
nix-prefetch-scripts treewide: use less phases if not necessary 2017-08-11 11:40:36 +02:00
nix-repl nix-repl: Use 'dev' output of nix 2016-08-29 21:30:52 +03:00
nix-serve nix-serve: fix meta eval 2016-06-16 15:54:29 +02:00
nix-update-source nix-update-source: init at 0.4.0 2017-04-07 22:11:34 +10:00
nixops Update nixops to 1.5.1 2017-07-06 11:14:20 +00:00
nixui Regenerate NPM expressions with node2nix 1.2.0 2017-03-31 20:51:14 +02:00
nox nox: Add a temporary patch for the "wip" command 2017-09-23 04:25:11 +02:00
opkg opkg: 0.3.4 -> 0.3.5 2017-07-16 11:14:26 +02:00
opkg-utils Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
packagekit packagekit: add 'enableNixBackend' as an option (#21157) 2016-12-17 16:53:27 +01:00
python2nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
rpm misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00