nixpkgs/pkgs/stdenv
Andreas Rammhold cb007e69a1 stdenv: make symlinks that refer to the same output relative
While looking at the graph of all the outputs in my personal binary
cache it became obvious that we have a lot of self references within the
package set. That isn't an isuse by itself. However it increases the
size of the binary cache for every (reproducible) build of a package
that carries references to itself. You can no longer deduplicate the
outputs since they are all unique. One of the ways to get rid of (a few)
references is to rewrite all the symlinks that are currently used to be
relative symlinks. Two build of something that didn't really change but
carries a self-reference can the be store as the same NAR file again.

I quickly hacked together this change to see if that would yield and
success. My bash scripting skills are probably not great but so far it
seem to somewhat work.
2020-01-15 09:26:40 +01:00
..
cross Fix lib tests 2019-11-26 12:57:16 -05:00
custom stdenv: allow custom stdenv to take crossOverlays 2019-01-07 20:53:10 -06:00
cygwin treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
darwin stdenv: bootstrap darwin with python3 2020-01-13 11:34:36 +01:00
freebsd stdenv: implement crossOverlays 2018-12-04 21:06:46 -06:00
generic stdenv: make symlinks that refer to the same output relative 2020-01-15 09:26:40 +01:00
linux make-bootstrap-tools: use 'extreme' option to reduce size but not cost 2019-11-03 14:52:44 +01:00
native treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
nix stdenv: implement crossOverlays 2018-12-04 21:06:46 -06:00
adapters.nix pkgsStatic: set BUILD_SHARED_LIBS=OFF for cmake 2020-01-03 11:31:17 -05:00
booter.nix pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery 2019-12-30 18:09:45 -05:00
common-path.nix bzip2: split into multiple outputs, refactor 2015-04-18 19:32:52 +02:00
default.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00