nixpkgs/pkgs/build-support
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
..
agda
binutils-wrapper Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper" 2017-09-07 12:51:21 +02:00
build-dotnet-package treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
build-fhs-userenv buildFHSEnv: fix NIX_* compiler flags 2017-10-17 00:39:39 +03:00
buildenv Merge pull request #27780 from tilpner/overridable-buildenv 2017-09-14 17:26:33 +02:00
cc-wrapper Get rid of most @rpath nonsense on Darwin 2017-10-08 16:13:46 -04:00
docker dockerTools: fix hash to accomodate the pullImage revert 2017-09-28 14:09:49 +02:00
dotnetbuildhelpers
dotnetenv
emacs Fix emacs wrapper expression to honor bash array use 2017-08-04 07:52:18 -04:00
expand-response-params expand-response-params: Build more normally 2017-08-25 15:10:02 -04:00
fetchadc
fetchbower fetchbower: handle packages with slashes in their name 2017-07-27 21:18:43 +01:00
fetchbzr
fetchcvs
fetchdarcs
fetchegg
fetchfossil
fetchgit Merge: more compatibility for git* fetchers 2017-07-09 10:31:24 +02:00
fetchgitlocal
fetchgitrevision
fetchgx
fetchhg
fetchmavenartifact
fetchmtn
fetchnuget
fetchpatch fetchpatch: allow callers to specify postFetch sensibly 2017-10-03 12:48:30 -04:00
fetchrepoproject fetchRepoProject: Fetch into $out and make it deterministic 2017-09-17 23:16:33 +02:00
fetchs3
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl mirrors: update apache and cpan mirrors 2017-08-24 04:22:07 +00:00
fetchzip Fix #27448 argument list too long in fetchzip for darwin. 2017-07-17 11:23:20 -04:00
gcc-wrapper-old cc-wrapper, cc-wrapper-old: Simplify shell logic 2017-09-19 16:45:24 -04:00
icon-conv-tools
kernel
libredirect
make-desktopitem
make-startupitem make-autostartitem: Use the right path for storing the desktop files 2017-07-06 00:44:41 +02:00
make-symlinks
mono-dll-fixer
nuke-references
ocaml
release
remove-references-to
rust rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
setup-hooks set-source-date-epoch-to-latest.sh: shut up a warning 2017-09-17 10:35:44 +02:00
singularity-tools
src-only
substitute
substitute-files
templaterpm
upstream-updater
vm vm: remove trusty-updates hash as it changes too often 2017-09-14 11:29:10 +02:00
vsenv
build-maven.nix
build-pecl.nix misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
dhall-to-nix.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix trivial-builders.nix: fix writeShellScriptBin 2017-10-06 10:55:36 +02:00