3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
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
.github Update CODEOWNERS to use darwin-maintainers team 2017-10-12 00:38:18 -05:00
doc rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
lib Added joncojonathan to maintainers 2017-10-21 14:22:57 +02:00
maintainers/scripts docs: 17.03 -> 17.09 2017-10-05 07:19:11 -08:00
nixos nixos/services.nginx: Fix globalRedirect example 2017-10-22 15:38:08 +02:00
pkgs rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
.editorconfig Do not trim trailing whitespace in patch files 2017-01-12 23:44:26 +01:00
.gitignore kde5: consolidate packages into desktops/kde-5 2016-03-01 10:36:00 -06:00
.travis.yml travis: Add dummy environment variables as build labels 2017-08-14 23:33:10 +03:00
.version Impala makes packaging a life-long addiction 2017-08-30 23:13:56 +02:00
COPYING Time passing by 2017-01-01 21:35:52 +01:00
default.nix default.nix: Provide correct instructions how to upgrade Nix 2017-03-18 21:04:07 +02:00
README.md readme.md: reincarnate wiki (#30243) 2017-10-09 16:32:30 +01:00

logo

Build Status Code Triagers Badge

Nixpkgs is a collection of packages for the Nix package manager. It is periodically built and tested by the hydra build daemon as so-called channels. To get channel information via git, add nixpkgs-channels as a remote:

% git remote add channels git://github.com/NixOS/nixpkgs-channels.git

For stability and maximum binary package support, it is recommended to maintain custom changes on top of one of the channels, e.g. nixos-17.09 for the latest release and nixos-unstable for the latest successful build of master:

% git remote update channels
% git rebase channels/nixos-17.09

For pull-requests, please rebase onto nixpkgs master.

NixOS linux distribution source code is located inside nixos/ folder.

Communication: