3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
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
..
languages-frameworks rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
old doc/old/cross.txt: md5 -> sha256 2017-01-24 16:26:05 +00:00
coding-conventions.xml documentation: fix some spelling 2017-09-01 13:38:07 -04:00
configuration.xml Merge pull request #25955 from matthewbauer/nixpkgs-manual-declarative-package-management 2017-07-16 16:50:14 -04:00
contributing.xml doc: make it clear the Contributing section is for the docs 2015-06-30 12:25:55 +02:00
cross-compilation.xml doc: Update cross compilation chapter for stdenv.{build,host,target}Platform 2017-07-07 13:24:33 -04:00
default.nix Update BEAM docs 2017-06-22 11:32:46 +02:00
functions.xml dockerTools: document image spec v1.2 compatibility 2017-08-03 11:52:03 +02:00
introduction.md nixpkgs manual: remove reference to now defunct nixpkgs monitor 2017-10-17 16:04:29 +01:00
manual.xml nixpkgs docs: Cross compilation docs 2017-01-24 11:37:56 -05:00
meta.xml nixpkgs manual: Fix license strings docs 2016-02-24 01:48:02 +01:00
multiple-output.xml stdenv: Don't move info pages to the 'man' output 2017-08-11 21:32:55 +03:00
overlays.xml Overlays: allow overlays to be specified in a file 2017-08-17 22:13:39 +00:00
package-notes.xml manuals: fixup steam note, as the change is in 17.09 2017-09-27 20:33:24 +02:00
quick-start.xml Point to the new mailing list by replacing the old link 2017-07-18 13:44:10 +02:00
release-notes.xml Fix trivial spelling mistake in docs 2014-06-13 11:11:27 +01:00
reviewing-contributions.xml doc: Fix some typos 2017-06-11 22:13:42 +02:00
stdenv.xml doc: Document forthcomming NIX_DEBUG degredations 2017-09-26 11:24:19 -04:00
style.css * Sync CSS with the Nix manual. 2012-05-11 21:42:00 +00:00
submitting-changes.xml doc/submitting-changes.xml: suggest "nixos/<module>" prefix for NixOS changes 2017-09-13 14:10:25 +02:00