Age | Commit message (Collapse) | Author |
|
Partly fixes <https://issues.guix.gnu.org/65225>.
* guix/scripts/environment.scm (guix-environment*): Pass SYSTEM to
‘package-derivation’ when defining ‘%guile-for-build’.
Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I9d883f1e61fac72754fdc9dee9b7c8a3dea32add
|
|
Fixes a bug whereby ‘guix locate’ would pick the system database, then
decide it’s too old, try to update it, and fail because it’s not
writable by unprivileged users.
Fixes <https://issues.guix.gnu.org/66612>.
* guix/scripts/locate.scm (file-age): New procedure.
(suitable-database): Add ‘age-update-threshold’ parameter and honor it.
(guix-locate): Remove ‘file-age’. Pass ‘age-update-threshold’ to the
‘database’ option.
Reported-by: Matt Wette <matt.wette@gmail.com>
|
|
* guix/scripts/weather.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/upgrade.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/time-machine.scm (%options): Handle EPIPE errors when
displaying help.
|
|
* guix/scripts/substitute.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/system.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/size.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/show.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/shell.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/search.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/repl.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/refresh.scm (%options): Handle EPIPE errors when displaying
help.
|
|
Reported by Mathieu Othacehe <othacehe@gnu.org>.
* guix/scripts/pull.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/processes.scm (%options): Handle EPIPE errors when displaying
help.
|
|
Reported by Mathieu Othacehe <othacehe@gnu.org>.
* guix/scripts/package.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/pack.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/offload.scm (guix-offload): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/locate.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/lint.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/install.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/import.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/home.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/hash.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/graph.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/git.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/gc.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/edit.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/download.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/discover.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/describe.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/deploy.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/copy.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying
help.
|
|
* guix/scripts/build.scm (%options): Handle EPIPE errors when displaying help.
|
|
* guix/scripts/archive.scm (%options): Handle EPIPE errors when displaying
help.
|
|
Previously, the image repository name was automatically computed from
the packages in the manifest without allowing the user to set a custom
one. As such, changing the packages in the manifest would result in a
new image name. Thereby requiring updating documentation et cetera when
using `docker load` directory on the resulting image.
Inspired by `docker build -t`, this commit adds a new Docker-specific
option to `guix pack` which allows setting a custom repository name for
the resulting image. If this option is not specified, pack falls back
to computing the name from the manifest. Therefore, this change is
entirely backwards compatible.
Documentation has been added with: 373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc.
* guix/scripts/pack.scm (guix-pack): Add --image-tag option.
(%docker-format-options): New constant.
(show-docker-format-options): New procedure.
(show-docker-format-options/detailed): New procedure.
(docker-image): Allow setting a custom
repository name for the created docker image via extra-options.
Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
|
|
Fixes <https://issues.guix.gnu.org/64856>.
* guix/scripts/shell.scm (profile-file-cache-key)
(profile-spec-cache-key): Take (%graft?) into account.
Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
|
Fixes <https://issues.guix.gnu.org/66305>.
Reported by Guillaume Le Vaillant <glv@posteo.net>.
* guix/scripts/perform-download.scm (perform-git-download): Add call to
‘setenv’.
|
|
* guix/scripts/refresh.scm (guix-refresh): Add cascade-sort procedure and use
it to sort specs by package location.
|
|
* guix/scripts/archive.scm (%options): Replace 'build' by 'archive'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* guix/scripts/perform-download.scm (perform-git-download): Pass #:git-command
to ‘git-fetch-with-fallback’.
|
|
The new builder makes it possible to break cycles that occurs when the
fixed-output derivation for the source of a dependency of ‘git’ would
itself depend on ‘git’.
* guix/scripts/perform-download.scm (perform-git-download): New
procedure.
(perform-download): Move fixed-output derivation check to…
(guix-perform-download): … here. Invoke ‘perform-download’ or
‘perform-git-download’ depending on what ‘derivation-builder’ returns.
* nix/libstore/builtins.cc (builtins): Add “git-download”.
* tests/derivations.scm ("built-in-builders"): Update.
("'git-download' built-in builder")
("'git-download' built-in builder, invalid hash")
("'git-download' built-in builder, invalid commit")
("'git-download' built-in builder, not found"): New tests.
|
|
Code in ‘builtins.cc’ only ever invokes ‘guix perform-download’ with two
arguments.
* guix/scripts/perform-download.scm (guix-perform-download): Remove
unused one-argument clause.
(perform-download): Make ‘output’ parameter mandatory; remove ‘output*’
variable.
|
|
Until 209204e23b39af09e0ea92540b6fa00a60e6a0ae and
d57cab764122af69d52d8cc9c843456044e5d7bc, the default image type used by "guix
system image" was an MBR image with an ESP partition.
Having both an MBR image and an ESP partition is handy because the image will
boot on most x86 based systems using legacy BIOS and/or UEFI.
We now have a distinction between MBR images and EFI images. Introduce a new
MBR hybrid image type and default to it to restore the default behaviour.
This also fixes the images section of (gnu ci) that was trying to install a
BIOS bootloader on an EFI, GPT image and failing to do so.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
|
|
Fixes <https://issues.guix.gnu.org/65832>.
* guix/scripts/shell.scm (authorized-shell-directory?): After warning,
continue LOOP to return valid query result for DIRECTORY.
|