Commit Graph

14 Commits

Author SHA1 Message Date
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
dywedir
61c4ff5c31 exa: 0.7.0 -> 0.8.0 2017-10-03 13:17:40 +03:00
Jörg Thalheim
006ac6b224 exa: 0.6.0 -> 0.7.0 2017-07-07 16:23:39 +01:00
Robin Stumm
9079f94df7 exa: 2017-04-02 -> 0.6.0 2017-06-13 22:05:27 +02:00
Jörg Thalheim
d3fff80d00
exa: unstable-2016-04-20 -> unstable-2017-04-02 (unbrick)
cc @ehegnes
2017-04-04 11:42:33 +02:00
Tadas Barzdzius
e2eec8f436 exa: mark as broken 2016-11-16 13:27:12 +02:00
Moritz Ulrich
febb35bd03 rustRegistry: 2016-08-23 -> 2016-09-20 2016-09-20 11:10:37 +02:00
Stefan Junker
117a6d10bb exa: fix depshash 2016-08-25 00:33:15 +02:00
Kevin Cox
1e74806403 exa: Update dependencies. 2016-07-26 14:57:50 -04:00
David Craven
54f80775cb rust: Refactoring of rust and cargo packages 2016-06-15 12:47:13 +02:00
Tadas Barzdzius
94280ecf90 exa: 2016-04-11 -> 2016-04-20 2016-04-20 12:41:37 +03:00
Tadas Barzdzius
1f3e2ced4a exa: 2016-03-22 -> 2016-04-11 2016-04-13 18:11:52 +03:00
Jakob Gillich
74ef06dab6 exa: 2016-02-15 -> 2016-03-22 2016-03-22 15:54:23 -04:00
Eric Hegnes
23ab6bf6b2 exa: init at git 2016-02-15 2016-02-16 11:02:38 -05:00