nixpkgs/pkgs/development/compilers
Benjamin Hipple 2115a2037c fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
This has several advantages:

1. It takes up less space on disk in-between builds in the nix store.
2. It uses less space in the binary cache for vendor derivation packages.
3. It uses less network traffic downloading from the binary cache.
4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only
   substitute --flat hashes on single files (not recursive directory hashes).
5. It's consistent with how simple `fetchurl` src derivations work.
6. It provides a stronger abstraction between input src-package and output
   package, e.g., it's harder to accidentally depend on the src derivation at
   runtime by referencing something like `${src}/etc/index.html`. Likewise, in
   the store it's harder to get confused with something that is just there as a
   build-time dependency vs. a runtime dependency, since the build-time
   src dependencies are tarred up.

Disadvantages are:
1. It takes slightly longer to untar at the start of a build.

As currently implemented, this attaches the compacted vendor.tar.gz feature as a
rider on `verifyCargoDeps`, since both of them are relatively newly implemented
behavior that change the `cargoSha256`.

If this PR is accepted, I will push forward the remaining rust packages with a
series of treewide PRs to update the `cargoSha256`s.
2020-02-10 10:17:29 -05:00
..
abcl abcl: 1.5.0 -> 1.6.0 2019-11-25 02:45:31 -08:00
adoptopenjdk-bin adoptopenjdk-bin: 8.0.232 -> 8.0.242 2020-02-10 08:11:53 +01:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: remove myself from maintainers 2019-10-08 19:51:52 +02:00
aldor
aliceml treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
apache-flex-sdk treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
arachne-pnr arachne-pnr: 2018.09.09 -> 2019.07.29 2019-11-03 14:26:31 +01:00
as31 treewide: name -> pname 2019-08-17 10:54:38 +00:00
asn1c treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
aspectj aspectj: Add license 2019-03-27 12:00:00 +01:00
ats treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ats2 treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
avian treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
avra
bigloo treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
binaryen treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
bluespec bluespec: init at unstable-2020.02.09 2020-02-10 00:44:22 +01:00
bs-platform bs-platform: don't build a development binary 2020-01-15 14:47:51 -08:00
bupc treewide: update homepages to https where available 2019-04-15 10:10:05 -04:00
carp carp: fix eval 2019-11-23 17:10:17 +01:00
ccl treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
chez treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
chicken treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
clasp treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
clean treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
closure closurecompiler: 20190215 -> 20190909 2019-09-26 01:33:23 -07:00
cmdstan treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
cmucl treewide: name -> pname 2019-08-17 10:54:38 +00:00
colm treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
compcert compcert: 3.5 → 3.6 2019-10-19 20:30:48 +00:00
computecpp computecpp: init at 1.2.0 2020-01-17 12:02:47 +00:00
coreclr treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
crystal crystal: 0.32.0 -> 0.32.1 2020-01-30 12:46:47 +10:00
cudatoolkit cudatoolkit_7*: build w/gcc6 2020-01-28 20:11:01 +01:00
dale dale: 20170519 -> 20181024 2020-01-30 18:35:29 -05:00
dev86 treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
dmd treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
dotnet dotnetCorePackages: Fix closure size 2020-02-02 00:41:56 -08:00
dtc dtc: disable Python support by default 2019-12-29 11:21:07 +01:00
ecl ecl: fix build with libffi 3.3 2019-12-16 23:02:26 +01:00
edk2 Merge remote-tracking branch 'upstream/master' into gcc-8 2019-08-25 18:55:46 +02:00
eli treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
elm elmPackages.elm-analyse: 0.16.4 -> 0.16.5 2020-02-03 11:45:51 +01:00
emscripten emscripten: 1.37.36 -> 1.38.28 2019-02-25 13:13:55 +01:00
eql treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
factor-lang Treewide: fix URL permanent redirects 2019-11-16 01:41:23 +01:00
fasm fasm: 1.73.18 -> 1.73.21 2019-12-23 02:14:48 -08:00
flux flux: init at 2013-09-20 2019-08-18 23:17:58 -04:00
fpc treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
fsharp treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
fsharp41 Merge master into staging-next 2019-08-27 16:36:47 +02:00
fstar treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
gambit treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
gavrasm gavrasm: init at 4.5 2020-01-24 18:55:01 +01:00
gcc gcc49.cc: add myself to maintainers 2020-02-09 21:37:06 -05:00
gcc-arm-embedded gcc-arm-embedded: remove old versions of the package (4.x, 5.0) 2019-12-08 15:24:12 +01:00
gcl treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
gerbil treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
gforth treewide: name -> pname 2019-08-17 10:54:38 +00:00
ghc ghc: update 8.10.1 pre-release to announced rc1 2020-01-31 21:05:55 +01:00
ghcjs-ng Merge branch 'ghcjs-cross-without-cc-common' into ghcjs-cross-without-cc 2019-12-25 01:31:35 -05:00
gleam gleam: change src.owner to gleam-lang organization 2019-12-27 18:51:43 +02:00
glslang treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gnu-cobol treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gnu-smalltalk treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
go go: remove not any more used patch files (#79597) 2020-02-09 03:58:39 -05:00
go-jsonnet go-jsonnet: 0.13.0 -> 0.14.0 2019-11-30 15:15:24 +11:00
gprolog gprolog: 1.4.4 -> 1.4.5 2018-12-25 16:52:12 -08:00
graalvm Merge staging-next into staging 2020-01-28 10:48:36 +01:00
gwt
halide treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH 2020-01-15 09:47:03 +01:00
haxe haxe: refactor out of ocamlPackages 2019-10-30 18:05:20 +00:00
hhvm treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
hop
iasl acpica-tools,iasl: 20191213 -> 20200110 2020-01-10 23:53:06 -06:00
inform7 treewide: name -> pname 2019-08-17 10:54:38 +00:00
intel-graphics-compiler intel-graphics-compiler: 1.0.2878 -> 1.0.3041 2019-12-23 09:29:44 -08:00
intercal intercal: 0.30 -> 0.31 2019-09-26 15:53:10 -07:00
ios-cross-compile pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
ispc ispc: only check on Linux 2019-11-03 16:20:00 -05:00
jasmin jasmin: init at 2.4 2019-11-06 15:43:29 +01:00
javacard-devkit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
jetbrains-jdk jetbrains.jdk: 485.1 -> 520.30 2020-01-24 02:14:02 -08:00
jsonnet jsonnet: 0.13.0 -> 0.14.0 2019-09-26 16:30:54 -07:00
julia Merge staging-next into staging 2019-08-28 08:26:42 +02:00
jwasm treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
kotlin kotlin: 1.3.60 -> 1.3.61 2019-12-23 11:12:40 -08:00
ldc ldc: fix build and skip impure test 2020-01-09 23:25:03 +09:00
llvm Merge pull request #78928 from NixOS/staging-next 2020-02-02 15:35:18 +01:00
manticore manticore: 2019.09.20 -> 2019.12.03 2019-12-04 14:30:56 -06:00
matter-compiler bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00
mcpp mcpp: pname-ify 2019-09-06 19:11:07 +03:00
mercury treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
meta-environment/meta-build-env
mezzo ocamlPackages.mezzo: disable for OCaml ≥ 4.06 2018-08-29 12:49:45 +00:00
microscheme treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
mint mint: Use buildCrystalPackage 2019-08-26 20:05:23 +02:00
mit-scheme Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
mkcl treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
mlton treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH 2020-01-15 09:47:03 +01:00
mono Merge master into staging-next 2020-02-09 11:00:29 +01:00
mosml Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
mozart mozart: build with llvmPackages_5 2020-01-30 18:35:30 -05:00
mruby mruby: 2.0.1 -> 2.1.0 2019-11-28 03:35:52 -08:00
nasm Merge remote-tracking branch 'upstream/gcc8' into staging-next 2019-09-06 23:25:18 +02:00
neko Re-Revert "Merge branch 'staging-next'" 2019-09-22 09:38:09 +02:00
nextpnr nextpnr: 2019.10.13 -> 2020.02.04 2020-02-08 23:00:07 -06:00
nim nim: 1.0.4 -> 1.0.6 2020-01-30 10:05:35 +01:00
nvidia-cg-toolkit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
obliv-c treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ocaml ber_metaocaml: fix install order. 2020-02-04 16:06:24 -06:00
opa treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
opendylan tree-wide: patchelf used during build -> nativeBuildInputs 2018-09-28 11:43:16 -05:00
openjdk Merge staging-next into staging 2020-01-28 10:48:36 +01:00
openspin treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
oraclejdk oraclejdk8: remove dead code 2020-02-02 22:18:39 +00:00
orc Remove myself (fuuzetsu) from maintainer lists 2019-12-05 16:29:48 +09:00
osl osl: 1.10.8 -> 1.10.9 2020-02-09 09:45:51 +01:00
owl-lisp owl-lisp: 0.1.16 -> 0.1.19 2019-08-21 13:39:24 +08:00
pakcs pakcs: 2.1.2 -> 2.2.0 2019-11-04 08:54:02 -08:00
pforth treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
picat picat: 1.9-4 -> 2.8-2 2020-01-28 20:11:01 +01:00
polyml Rename z77z into maggesi 2019-10-07 17:05:25 +02:00
ponyc ponyc: 0.33.1 -> 0.33.2 2020-02-06 13:19:22 +00:00
purescript Merge pull request #78524 from r-ryantm/auto-update/psc-package 2020-01-26 09:43:57 -05:00
qbe qbe: unstable-2019-05-15 -> unstable-2019-07-11 2019-07-29 16:21:00 +02:00
rasm rasm: init at 0.116 2019-12-16 11:28:34 -08:00
reason treewide: CAML_LD_LIBRARY_PATH may be undefined 2019-11-14 13:44:07 -05:00
rgbds treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
rust fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
sagittarius-scheme sagittarius-scheme: init at 0.9.6 2019-08-11 21:47:41 +05:30
sbcl sbcl: reinstate 2.0.0; add sbcl_2_0_1 for 2.0.1 2020-02-04 17:06:54 +01:00
scala scala: move text files from $out to appropriate subdirs 2020-01-19 19:33:01 +01:00
sdcc sdcc: extend platforms 2019-09-01 14:22:49 -05:00
seexpr treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
serpent treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
shaderc treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
smlnj smlnj: 110.91 -> 110.95, add 64-bit support 2019-12-04 14:30:56 -06:00
solc treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH 2020-01-15 09:47:03 +01:00
souffle treewide: fix redirected urls 2020-01-22 11:26:22 +01:00
spirv-llvm-translator spirv-llvm-translator: init at 8.0.1-2 2019-09-01 16:53:28 +01:00
squeak treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
stalin
swi-prolog swiProlog: fix build on darwin 2019-10-14 22:30:00 -05:00
swift swift: fix UUID module and enable tests 2020-01-15 13:23:50 +01:00
terra terra: fix evaluation on darwin 2019-09-24 08:25:44 +02:00
teyjus treewide: name -> pname 2019-08-17 10:54:38 +00:00
tinycc tinycc: fixup perms for generated .pc file 2019-10-12 14:45:17 +02:00
tinygo tinygo: 0.10.0 -> 0.11.0 2020-01-26 12:47:37 +00:00
unison unison-ucm 1.0.g-alpha -> 1.0.h-alpha 2020-01-21 07:36:39 -05:00
urn treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
urweb urweb: Fix icu headers include path 2020-02-04 19:30:15 -06:00
vala vala: 0.46.2 -> 0.46.5 2019-11-22 04:07:46 -05:00
vlang vlang: Propagate build inputs, add $LDFLAGS (#70466) 2019-10-07 00:02:34 -04:00
wcc wcc: fix build w/glibc-2.30 2020-01-25 19:49:56 +01:00
wla-dx wla-dx: git-2017-06-05 -> 9.8 2019-07-02 23:04:01 -06:00
x11basic x11basic: 1.26 -> 1.27 2019-11-29 16:33:22 -08:00
yap treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
yasm treewide: http -> https sources (#42676) 2018-06-28 20:43:35 +02:00
yosys yosys: 2020.02.01 -> 2020.02.07 2020-02-08 23:00:07 -06:00
z88dk z88dk-unstable: 2019-05-09 -> 2020-01-27, fix build w/glibc-2.30 2020-01-28 14:07:58 +01:00
zig zig: 0.4.0 -> 0.5.0 2019-09-30 20:00:00 -05:00
zulu treewide: JAVA_HOME may not always be defined 2019-11-01 22:00:07 +00:00