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 agda: Remove unused/uneeded abstractions, including postprocess 2015-05-31 01:55:10 +00:00
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 Replace hard coded /bin/bash occurrences 2016-10-04 20:15:37 +02:00
dotnetenv Remove executable bits from non-executable files 2015-01-27 18:54:38 +01:00
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 lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchbower fetchbower: handle packages with slashes in their name 2017-07-27 21:18:43 +01:00
fetchbzr nix-prefetch-bzr: match path name to fetchbzr name 2015-12-19 09:32:22 -06:00
fetchcvs build-support: Fix nix-prefetch-* on OS X. 2014-08-27 11:22:34 +02:00
fetchdarcs fetchdarcs: Use NIX_SSL_CERT_FILE 2017-06-03 20:35:37 +01:00
fetchegg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchfossil fetchfossil: Don't support MD5. 2016-08-21 11:53:40 -07:00
fetchgit Merge: more compatibility for git* fetchers 2017-07-09 10:31:24 +02:00
fetchgitlocal fetchgitlocal: be less chatty 2016-02-01 10:57:01 -08:00
fetchgitrevision
fetchgx ipfs: 0.4.6 -> 0.4.9 2017-05-24 16:31:17 +02:00
fetchhg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchmavenartifact fetchMavenArtifact: init (#16825) 2016-07-19 09:48:36 +02:00
fetchmtn lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchnuget fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
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 fetchs3: init simple S3 downloader 2017-04-25 22:01:32 -04:00
fetchsvn fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames 2017-06-04 13:41:28 +01:00
fetchsvnrevision
fetchsvnssh fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
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 treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
kernel make-initrd: Don't use stdenv.cross 2017-06-28 18:21:05 -04:00
libredirect libredirect: allow null paths 2017-05-24 11:29:06 -03:00
make-desktopitem chromium: add StartupWMClass to desktop file. Fixes #12433 2016-02-29 20:42:58 +01:00
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 treewide: Some EOF-whitespace fixes 2016-08-02 21:17:44 +03:00
nuke-references nuke-references: support -e option 2015-10-18 18:41:11 +03:00
ocaml OCaml modules: make explicit some dependencies to ocamlbuild 2016-10-09 11:55:19 +02:00
release Merge pull request #17681 from ericsagnes/feat/releaseTools.channel 2017-07-02 09:46:17 +01:00
remove-references-to Add removeReferencesTo for removing specific refs 2017-03-09 12:01:55 +00:00
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 singularity: init 2.2 2016-11-15 09:11:53 +11:00
src-only
substitute Add stdenvNoCC 2016-09-29 13:06:41 +02:00
substitute-files substituteAllFiles: support postInstall 2016-01-10 06:03:26 +03:00
templaterpm Update: new features for nix-template-rpm 2015-02-06 20:12:57 +01:00
upstream-updater Fix #4210: Remove builderDefs 2016-08-31 11:34:46 +02:00
vm vm: remove trusty-updates hash as it changes too often 2017-09-14 11:29:10 +02:00
vsenv
build-maven.nix build-maven: use lib.importJSON 2016-02-29 13:49:29 +00:00
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 Add a pkgs.dhallToNix utility 2017-01-26 20:11:49 -08:00
plugins.nix Ultrastar (#26524) 2017-06-14 11:29:31 +02:00
replace-dependency.nix replaceDependency: fix syntax error 2016-10-28 01:00:04 +02:00
setup-systemd-units.nix Add setupSystemdUnits function. 2017-03-24 15:47:51 -04:00
source-from-head-fun.nix
trivial-builders.nix trivial-builders.nix: fix writeShellScriptBin 2017-10-06 10:55:36 +02:00