nixpkgs-suyu/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 Replace hard coded /bin/bash occurrences 2016-10-04 20:15:37 +02:00
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 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
fetchgit Merge: more compatibility for git* fetchers 2017-07-09 10:31:24 +02:00
fetchgitlocal
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
fetchmtn
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
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
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 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
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 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