1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/development
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
..
arduino
beam-modules Revert "Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs" 2017-09-29 09:11:26 -04:00
bower-modules/generic
compilers rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
coq-modules coqPackages.fiat_HEAD: mark as broken with Coq ≥ 8.6 2017-10-22 20:48:18 +00:00
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules go: update nonfatal build error list 2017-09-28 10:28:20 +00:00
guile-modules Merge branch 'master' into staging 2017-10-02 00:22:12 +00:00
haskell-modules haskellPackages.amqp-utils: fix dependencies 2017-10-21 18:10:29 +02:00
idris-modules idrisPackages.lightyear: 2016-08-01 -> 2017-09-10 2017-10-19 02:03:36 +11:00
interpreters erlang: fix ssl on darwin 2017-10-14 12:36:15 +02:00
java-modules
libraries Merge remote-tracking branch 'upstream/staging' into master 2017-10-22 18:16:17 +03:00
lisp-modules lispPackages.cl-protobufs: init at 20170403-git 2017-09-27 09:07:26 -07:00
lua-modules
misc rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
mobile
node-packages bower2nix: 3.1.1 -> 3.2.0 2017-09-27 07:30:01 +01:00
ocaml-modules ocamlPackages.yojson: 1.2.3 -> 1.3.3 2017-10-22 14:37:28 +00:00
perl-modules
pharo
pure-modules Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
python-modules pythonPackages.phonenumbers: 8.8.2 -> 8.8.4 2017-10-22 16:50:39 +02:00
qtcreator qtcreator: 4.4.0 -> 4.4.1 2017-10-07 11:27:29 +02:00
r-modules r-modules: Fix a number of popular R packages 2017-10-21 11:29:21 +01:00
ruby-modules Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
tools rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
web buildNodePackage: fix issue with impure version handling (#30577) 2017-10-22 16:45:16 +02:00