guix-play/guix/scripts
Tomas Volf 31e736dac2
scripts: pack: Set correct default value for entry-point-argument.
The default value of #f led to ("..." . #f) being passed further down as an
entry point.  That is not an issue for command line invocation, since in that
code path '() was already used as a default value, but it broke docker system
test with the following error:

    building /gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv...
    tar: Removing leading `/' from member names
    Backtrace:
               6 (primitive-load "/gnu/store/g8hqzccfvn4mkm41jqs65c27gs7?")
    In ./guix/docker.scm:
        268:6  5 (build-docker-image "/gnu/store/zi2f5dfdrhviinm6jxp3cj?" ?)
    In ice-9/ports.scm:
       433:17  4 (call-with-output-file _ _ #:binary _ #:encoding _)
        476:4  3 (_ _)
    In ./guix/docker.scm:
       270:21  2 (_)
       123:40  1 (config "1996ead589ab366473d935c4d5bd0c38b998f3b299847?" ?)
    In unknown file:
               0 (list->vector ("/gnu/store/1pvqd30qi1aigjdf7s7l8v7?" . #))

    ERROR: In procedure list->vector:
    In procedure vector: Wrong type argument in position 1: ("/gnu/store/1pvqd30qi1aigjdf7s7l8v7wpvrrhfkj-profile/bin/guile" . #f)
    note: keeping build directory `/tmp/guix-build-docker-pack.tar.gz.drv-16'
    builder for `/gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv' failed with exit code 1
    build of /gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv failed
    View build log at '/var/log/guix/drvs/dl/l8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv.gz'.
    cannot build derivation `/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv': 1 dependencies couldn't be built
    guix build: error: build of `/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv' failed
    make: *** [Makefile:7044: check-system] Error 1

Breakage was introduced in 7d5168a2af.

* guix/scripts/pack.scm (docker-image)[entry-point-argument]: Default to '().

Change-Id: If5fc1f8bcb0981df11409636e71f2ca91b05612f
2024-01-13 15:39:09 +01:00
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git Add 'guix git authenticate'. 2020-07-11 12:33:01 +02:00
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import guix: import: Optionally import necessary yanked crates. 2024-01-09 09:38:38 +02:00
system reconfigure: Use let* from srfi-71. 2023-08-12 23:07:40 +02:00
archive.scm scripts: archive: Handle EPIPE errors when displaying help. 2023-10-17 14:51:53 +02:00
authenticate.scm authenticate: Encode strings as ISO-8859-1. 2020-09-15 14:40:20 +02:00
build.scm scripts: build: Handle EPIPE errors when displaying help. 2023-10-17 14:51:54 +02:00
challenge.scm challenge: Use the same substitute URLs as guix-daemon. 2023-12-11 23:18:57 +01:00
container.scm scripts: container: Handle EPIPE errors when displaying help. 2023-10-17 14:51:54 +02:00
copy.scm scripts: copy: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
deploy.scm scripts: deploy: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
describe.scm scripts: describe: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
discover.scm scripts: discover: Handle EPIPE errors when displaying help. 2023-10-17 14:51:56 +02:00
download.scm scripts: download: Fix docstring typo. 2023-12-27 21:58:16 +01:00
edit.scm scripts: edit: Fix relative file-name with 'load-path' option. 2023-11-05 16:11:17 +01:00
environment.scm shell: ‘--development’ honors ‘--system’. 2023-12-06 23:50:04 +01:00
gc.scm scripts: gc: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
git.scm scripts: git: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
graph.scm scripts: graph: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
hash.scm scripts: hash: Handle EPIPE errors when displaying help. 2023-10-17 14:51:58 +02:00
home.scm scripts: home: Handle EPIPE errors when displaying help. 2023-10-17 14:51:58 +02:00
import.scm guix: import: Add composer importer. 2023-12-18 23:16:28 +01:00
install.scm scripts: install: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
lint.scm scripts: lint: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
locate.scm locate: Gracefully handle busy-database error conditions. 2023-11-26 23:34:48 +01:00
offload.scm scripts: offload: Handle EPIPE errors when displaying help. 2023-10-17 14:52:00 +02:00
pack.scm scripts: pack: Set correct default value for entry-point-argument. 2024-01-13 15:39:09 +01:00
package.scm scripts: package: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
perform-download.scm perform-download: Set PATH before invoking ‘git’. 2023-10-05 23:14:53 +02:00
processes.scm scripts: processes: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
publish.scm scripts: publish: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
pull.scm scripts: pull: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
refresh.scm scripts: refresh: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
remove.scm scripts: remove: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
repl.scm scripts: repl: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
search.scm scripts: search: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
shell.scm shell: Disable caching for ‘guix shell -f guix.scm’. 2023-11-22 23:55:12 +01:00
show.scm scripts: show: Handle EPIPE errors when displaying help. 2023-10-17 14:52:04 +02:00
size.scm scripts: size: Fix guix size with --system argument. 2024-01-12 17:26:31 +01:00
style.scm style: ‘guix style -f’ warns when passed zero arguments. 2023-11-22 16:51:45 +01:00
substitute.scm substitute: Do not exit when failing to find a nar. 2023-12-04 22:26:36 +01:00
system.scm scripts: system: Build layered images. 2024-01-08 21:22:44 +03:00
time-machine.scm time-machine: Warn when no command is given. 2023-11-05 23:23:23 +01:00
upgrade.scm scripts: upgrade: Handle EPIPE errors when displaying help. 2023-10-17 14:52:06 +02:00
weather.scm weather: Report unauthorized substitute servers. 2023-12-11 23:19:04 +01:00