gnu: Add compression module.
authorMathieu Othacehe <othacehe@gnu.org>
Mon, 12 Sep 2022 06:31:36 +0000 (08:31 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Sat, 24 Sep 2022 12:49:09 +0000 (14:49 +0200)
commitebe9d660a55629f2506db124b0e016885fc61e5c
tree9d6e9b7345a2b1ae214d4117428a0748501426af
parenta13f5ead0265cf0fe11e60150547c09dfc8c45b0
gnu: Add compression module.

Move the compression record to a dedicated module so that it can be used
outside (guix scripts pack) module.

* guix/scripts/pack.scm (<compressor>, %compressors, lookup-compressor): Move
it to ...
* gnu/compression.scm: ... this new file.
* gnu/ci.scm: Adapt it.
* local.mk (GNU_SYSTEM_MODULES): Add it.
gnu/ci.scm
gnu/compression.scm [new file with mode: 0644]
gnu/local.mk
guix/scripts/pack.scm