bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45676: Store references inside compressed data


From: Tobias Geerinckx-Rice
Subject: bug#45676: Store references inside compressed data
Date: Tue, 05 Jan 2021 23:33:59 +0100

Hi!

Miguel Ángel Arruga Vivas wrote:
These aren't taken into account by the grafting process, which may lead to issues when store paths are located inside that kind of files.

It's true. It's a known trade-off of an otherwise almost-zero-effort yet fast reference scanner. I don't think it's a bug per se, but it is something of which to be aware. I also think this trade-off is worth it.

Luckily, this case is easier to fix than the infamous <http://issues.guix.gnu.org/24703>, because the right solution is simple:

  - Compressed libraries: e.g. Smalltalk modules.
  - Compressed executable or data files: e.g. library.el.gz.

Let's stop installing compressed executables & data files. We already avoid compressed .jars and other renamed zip files. It ain't right.

It's not 1998, my hard drive isn't 1.1GB, and I didn't just reinstall Slackware because I ‘accidentally’ gzexe'd gzip.

Gzipping a tiny handful of Lisp or Smalltalk files is pointless when zstd {,de}compresses my entire 500GB SSD better and faster, at the file system level where it now squarely belongs. Without breaking Guix.

Kind regards,

T G-R

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]