Commit Graph

13 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
7c696a08ce pijul: 0.6.0 -> 0.7.3 2017-08-27 02:28:30 +02:00
Florent Becker
1951578395 pijul: 0.4.4 -> 0.6.0 2017-06-12 13:37:14 +02:00
Florent Becker
dcca9b17e3 pijul: 0.4.1 -> 0.4.4 2017-04-13 15:25:25 +02:00
Florent Becker
3699a545fd pijul: 0.3.3 -> 0.4.1 2017-04-03 15:04:04 +02:00
Florent Becker
20542a2028 pijul: 0.3 -> 0.3.3 2017-03-22 17:26:04 +01:00
Florent Becker
ea80c91bd3 pijul: init at 0.3.0 (re-init) 2017-03-20 10:27:38 +01:00
Florent Becker
0a840d4f41 pijul: remove
This version is not working, and it is not even a release upstream
2017-02-21 15:34:28 +01:00
Tadas Barzdzius
d27a658846 pijul: mark as broken 2016-12-29 09:57:39 +02:00
Domen Kožar
d6a4a30fb1 pijul: build only on 64bit platforms
(cherry picked from commit 8479962862563783ce216c1aec1aa08c1da696b2)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-09-13 10:37:55 +02:00
Tadas Barzdzius
a2973df033 pijul: use stable rustPlatform 2016-04-20 15:08:12 +03:00
Brian McKenna
93328bbd62 pijul: 0.2-6ab9ba
Maintainer has been working with us, this commit was given by them.
2016-02-17 07:28:26 +11:00
Brian McKenna
c6c1d3f777 pijul: init at 0.1 2015-10-21 21:35:02 +11:00