1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/editors
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
..
aewan
amp
android-studio androidStudioPackages.beta: 3.6.0.18 -> 3.6.0.19 2020-01-30 20:03:20 +01:00
aseprite
atom atom, atom-beta: 1.36.1 -> 1.42.0, 1.37.0-beta0 -> 1.43.0-beta0 2019-12-31 01:25:00 +01:00
bless bless: init at 0.6.2 2020-02-01 13:01:46 +01:00
bluefish
bonzomatic
brackets
bvi
bviplus bviplus: 0.9.4 -> 1.0 2020-01-20 04:23:13 +00:00
codeblocks treewide: configureFlags is a flat list 2019-12-31 01:37:49 +01:00
deadpixi-sam
dhex
dit
eclipse eclipses.plugins.cdt: fix source hash 2020-01-24 20:18:14 +01:00
ed
edbrowse treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
edit
elvis
emacs treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
emacs-modes treewide: fix redirected urls 2020-01-22 11:26:22 +01:00
featherpad
flpsed Remove myself (fuuzetsu) from maintainer lists 2019-12-05 16:29:48 +09:00
focuswriter focuswriter: 1.7.3 -> 1.7.4 2020-01-20 13:29:25 +01:00
fte treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
geany geany: clean up and switch to GTK3 2019-11-28 00:05:22 +01:00
ghostwriter
glow glow: 0.1.6 -> 0.2.0 2020-01-09 15:27:05 +02:00
gnome-builder gnome-builder: fix build with Meson 0.52 2019-12-02 00:23:08 +01:00
gnome-latex
gobby
hecate
heme
hexcurse
hexdino fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
hexedit
howl
ht
jedit
jetbrains jetbrains.webstorm: 2019.3.1 -> 2019.3.2 2020-01-24 02:14:02 -08:00
joe
jucipp treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
jupp
jupyter
kakoune kakoune: 2019.12.10 -> 2020.01.16 2020-01-16 14:53:08 +00:00
kdevelop5 kdev-python: 5.4.6 -> 5.5.0 2020-02-03 11:03:56 -08:00
kile
kodestudio
leafpad
leo-editor
lighttable
manuskript
mg
micro
mindforger
mle mle: 1.4.1 -> 1.4.2 2019-11-28 03:16:39 -08:00
moe
monodevelop
music/tuxguitar
nano nano: 4.6 -> 4.7 2019-12-25 19:50:28 +00:00
ne
nedit nedit: *Flags are lists 2019-12-30 12:15:22 +01:00
neovim Merge pull request #73854 from Dema/neovim-qt-version-bump 2020-01-13 09:07:58 +08:00
netbeans netbeans: 11.1 -> 11.2 2020-01-30 01:11:58 +01:00
notepadqq
nvi
nvpy
okteta kdeApplications.okteta: 0.26.2 -> 0.26.3 2020-02-09 13:59:25 +01:00
quartus-prime quartus: init at 19.1.0.670 2020-01-15 21:15:39 +00:00
quilter quilter: 2.0.5 -> 2.1.0 2020-02-06 14:10:42 +00:00
rednotebook rednotebook: 2.15 -> 2.16 2020-02-06 20:09:20 +01:00
retext
rstudio rstudio: use qt5's mkDerivation (#74381) 2020-02-09 01:44:53 -05:00
scite
sigil
standardnotes
sublime
supertux-editor
tecoc
texmacs treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
texmaker texmaker: 5.0.3 -> 5.0.4 2020-01-04 20:18:06 +01:00
texstudio texstudio: 2.12.16 -> 2.12.20 2020-01-16 16:44:12 +00:00
textadept
texworks
thonny thonny: 3.2.4 -> 3.2.6 2020-02-06 20:09:04 +01:00
tiled tiled: 1.3.1 -> 1.3.2 2020-01-26 12:41:44 +00:00
tweak
typora
uberwriter uberwriter: 2019-11-29 -> 2020-01-24 2020-01-25 14:23:24 +01:00
uemacs
vbindiff
vim vim: 8.1.2407 -> 8.2.0013 2019-12-31 09:28:42 +01:00
vis
vscode vscode 1.41.1 -> 1.42.0 2020-02-08 12:36:18 +10:00
wily
wxhexeditor
xmlcopyeditor
yi treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
zile