nixpkgs/pkgs/stdenv/generic
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
..
builder.sh
check-meta.nix allowInsecureDefaultPredicate: fix to use getName 2019-12-15 18:01:19 +00:00
default-builder.sh
default.nix stdenv: make symlinks that refer to the same output relative 2020-01-15 09:26:40 +01:00
make-derivation.nix
setup.sh setup.sh: rewrite stripHash 2019-11-12 14:38:41 +01:00