guix/guix
Maxim Cournoyer d5f8b50365
pack: Move common build code to (guix build pack).
The rationale is to reduce the number of derivations built per pack to ideally
one, to minimize storage requirements.  The number of derivations had gone up
with 68380db4 ("pack: Extract populate-profile-root from
self-contained-tarball/builder.") as a side effect to improving code reuse.

* guix/scripts/pack.scm (guix): Add commentary comment.
(populate-profile-root, self-contained-tarball/builder): Extract to...
* guix/build/pack.scm (populate-profile-root): ... this, and...
(build-self-contained-tarball): ... that, adjusting for use on the build side.
(assert-utf8-locale): New procedure.
(self-contained-tarball, debian-archive, rpm-archive): Adjust accordingly.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-07-18 16:56:06 -04:00
..
build pack: Move common build code to (guix build pack). 2023-07-18 16:56:06 -04:00
build-system gnu: Update TeX Live packages to 2023.0 (rev 66594). 2023-07-18 18:15:06 +02:00
import guix: Fix license translation in texlive importer. 2023-07-18 18:19:02 +02:00
platforms
scripts pack: Move common build code to (guix build pack). 2023-07-18 16:56:06 -04:00
store
tests
android-repo-download.scm
avahi.scm avahi: Fix exception when #:timeout is #f. 2023-07-11 15:47:56 +02:00
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm cache: 'file-expiration-time' uses 'lstat', not 'stat'. 2023-07-11 15:47:56 +02:00
channels.scm
ci.scm
colors.scm
combinators.scm
config.scm.in
cpio.scm
cpu.scm guix: cpu: Add gcc-architecture->micro-architecture-level mapping. 2023-07-12 16:48:28 +03:00
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm
discovery.scm
docker.scm
download.scm download: Remove stale Yandex GNOME mirror. 2023-07-09 02:00:01 +02:00
elf.scm
ftp-client.scm
gexp.scm
git-authenticate.scm
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.js
graph.scm
hash.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm
ipfs.scm
least-authority.scm
licenses.scm guix: licenses: Add Academic Free License 2.1. 2023-07-18 18:18:23 +02:00
lint.scm gnu: Deprecate `texlive-tiny'. 2023-07-18 18:16:49 +02:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
narinfo.scm
openpgp.scm
packages.scm
pki.scm
platform.scm guix: platform: Use srfi-34's raise instead of raise-exception. 2023-07-13 19:00:14 +02:00
profiles.scm gnu: Remove texlive-default-updmap.cfg. 2023-07-18 18:16:08 +02:00
profiling.scm
progress.scm
quirks.scm
read-print.scm
records.scm
remote.scm
repl.scm
rpm.scm
scripts.scm
search-paths.scm
self.scm
serialization.scm
sets.scm
ssh.scm
status.scm
store.scm
substitutes.scm
svn-download.scm svn-download: Handle the single file case when downloading a nar. 2023-07-18 18:16:55 +02:00
swh.scm
tests.scm
transformations.scm transformations: Allow tuning go packages. 2023-07-12 16:48:28 +03:00
ui.scm
upstream.scm
utils.scm
workers.scm