guix-play/guix/scripts
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
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import scripts: import: elpa: Return consistent error code. 2023-05-17 22:22:22 +02:00
system Merge remote-tracking branch 'savannah/master' into core-updates 2023-03-02 10:55:08 +00:00
archive.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
authenticate.scm
build.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
challenge.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
container.scm
copy.scm
deploy.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
describe.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
discover.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
download.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
edit.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
environment.scm environment: Fix unbound-variable bug with '--symlink'. 2023-06-02 16:57:17 +02:00
gc.scm guix gc: Round MiBs in user feedback. 2023-05-31 22:45:35 +02:00
git.scm
graph.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
hash.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
home.scm guix home: Add missing SRFI-34 import for 'raise'. 2023-06-16 00:14:52 +02:00
import.scm import: Gracefully handle EPIPE. 2023-06-08 22:06:00 +02:00
install.scm
lint.scm lint: Add '-e'. 2022-08-08 11:22:31 +02:00
locate.scm locate: Ignore unreadable manifests. 2023-07-11 15:47:55 +02:00
offload.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pack.scm pack: Move common build code to (guix build pack). 2023-07-18 16:56:06 -04:00
package.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
perform-download.scm
processes.scm
publish.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pull.scm pull: Preserve channel ordering when using '--commit', '--url', etc. 2023-06-16 00:14:52 +02:00
refresh.scm scripts/refresh: Remove column from spec line before sorting. 2023-07-17 13:51:54 +02:00
remove.scm
repl.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
search.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
shell.scm shell: Really take system into account in the cache key. 2023-07-13 17:20:02 +02:00
show.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
size.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
style.scm diagnostics: Factorize 'absolute-location'. 2023-05-31 23:25:25 +02:00
substitute.scm substitute: Gracefully retry after failed partial downloads. 2023-06-08 22:54:58 +02:00
system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
time-machine.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
upgrade.scm
weather.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00