cb007e69a1
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. |
||
---|---|---|
.. | ||
audit-tmpdir.sh | ||
auto-patchelf.sh | ||
autoreconf.sh | ||
breakpoint-hook.sh | ||
compress-man-pages.sh | ||
die.sh | ||
enable-coverage-instrumentation.sh | ||
find-xml-catalogs.sh | ||
fix-darwin-dylib-names.sh | ||
gog-unpack.sh | ||
install-shell-files.sh | ||
keep-build-tree.sh | ||
ld-is-cc-hook.sh | ||
make-coverage-analysis-report.sh | ||
make-symlinks-relative.sh | ||
make-wrapper.sh | ||
move-docs.sh | ||
move-lib64.sh | ||
move-sbin.sh | ||
multiple-outputs.sh | ||
patch-shebangs.sh | ||
prune-libtool-files.sh | ||
role.bash | ||
separate-debug-info.sh | ||
set-java-classpath.sh | ||
set-source-date-epoch-to-latest.sh | ||
setup-debug-info-dirs.sh | ||
shorten-perl-shebang.sh | ||
strip.sh | ||
update-autotools-gnu-config-scripts.sh | ||
use-old-cxx-abi.sh | ||
win-dll-link.sh | ||
wrap-gapps-hook.sh |