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.
This commit is contained in:
Mathieu Othacehe 2022-09-12 08:31:36 +02:00
parent a13f5ead02
commit ebe9d660a5
No known key found for this signature in database
GPG key ID: 8354763531769CA6
4 changed files with 74 additions and 45 deletions

View file

@ -39,9 +39,10 @@
#:select (gpl3+ license? license-name))
#:use-module ((guix utils) #:select (%current-system))
#:use-module ((guix scripts pack)
#:select (lookup-compressor self-contained-tarball))
#:select (self-contained-tarball))
#:use-module (gnu bootloader)
#:use-module (gnu bootloader u-boot)
#:use-module (gnu compression)
#:use-module (gnu image)
#:use-module (gnu packages)
#:use-module (gnu packages gcc)