Commit graph

98645 commits

Author SHA1 Message Date
Ludovic Courtès
0dab106a6a
image: Add sanitizers for 'format' and 'partition-table-type'.
This allows common mistakes to be diagnosed early.

* gnu/image.scm (define-set-sanitizer): New macro.
(validate-image-format, validate-partition-table-type): New sanitizers.
(<image>)[format, partition-table-type]: Add 'sanitize' property.
2022-07-01 12:10:29 +02:00
Ludovic Courtès
05a759ab36
image: Raise an error when an image lacks a bootable partition.
* gnu/system/image.scm (find-root-partition): Raise an error when 'find'
returns #f.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
ed19bc87e4
image: Avoid use of the deprecated 'gpt' option of genimage.
* gnu/system/image.scm (system-disk-image)[genimage-type-options]: Use
'partition-table-type' instead of the deprecated 'gpt' option.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
9f530ef38a
image: Add default value for partition initializer.
Previously, the default value would lead to a wrong-type-to-apply crash.

* gnu/system/image.scm (system-disk-image)[image-builder]: When
'partition-initializer' returns #f, fall back to
INITIALIZE-ROOT-PARTITION.
* gnu/tests/base.scm (run-root-unmount-test)[test-image]: Remove
'initializer' field of partition.
* gnu/image.scm (<partition>)[initializer]: Add comment.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
e871c3a857
image: 'system-image' throws when given an incorrect image format.
Previously 'system-image' would return *unspecified* in that case,
leading to a wrong-type-arg error crash down the road.

* gnu/system/image.scm (system-image): Add 'else' clause.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
0483c71cc5
services: root-file-system: Cleanly unmount upon shutdown.
Fixes <https://issues.guix.gnu.org/56209>.
Reported by angry rectangle <angryrectangle@cock.li>.

* gnu/packages/admin.scm (shepherd-0.9)[modules, snippet]: New fields.
* gnu/services/base.scm (%root-file-system-shepherd-service): In 'stop'
method, remove 'call-with-blocked-asyncs'.  When 'mount' throws to
'system-error, call (@ (fibers) sleep) and try again.
* gnu/tests/base.scm (run-root-unmount-test): New procedure.
(%test-root-unmount): New variable.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
4636640de8
file-systems: Add 'cleanly-unmounted-ext2?'.
* gnu/build/file-systems.scm (ext2-superblock-cleanly-unmounted?)
(cleanly-unmounted-ext2?): New procedures.
2022-07-01 12:10:28 +02:00
Ludovic Courtès
2199af9f7b
gnu: texlive-fmtcount: Add proper 'license' value.
This is a followup to df5e07c16d.

* gnu/packages/tex.scm (texlive-fmtcount)[license]: New field.
2022-07-01 12:10:27 +02:00
Christopher Baines
b5c6062bce
services: nginx: Add support for extra content in upstream blocks.
I'm looking at this as I'd like to use the keepalive functionality.

* gnu/services/web.scm (nginx-upstream-configuration-extra-content): New
procedure.
(emit-nginx-upstream-config): Include the extra-content if applicable.
* doc/guix.texi (NGINX): Document this.
2022-07-01 09:45:28 +01:00
Luis Henrique Gomes Higino
9a2a77b6ad
gnu: grip: Update to 4.6.1.
* gnu/packages/python-web.scm (grip): Update to 4.6.1.
(arguments): Use a gexp.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-01 09:45:28 +01:00
Christopher Baines
09aeabb9d3
services: guix: Support guix-build-coordinator parallel hooks.
* gnu/services/guix.scm (guix-build-coordinator-configuration-parallel-hooks):
New procedure.
(make-guix-build-coordinator-start-script): Accept and use #:parallel-hooks.
(guix-build-coordinator-shepherd-services): Pass parallel-hooks to
make-guix-build-coordinator-start-script.
* doc/guix.texi (Guix Build Coordinator): Document this new field.
2022-07-01 09:45:28 +01:00
Christopher Baines
e176727971
gnu: guix-build-coordinator: Update to 0-55.23504e0.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-55.23504e0.
2022-07-01 09:45:27 +01:00
Wiktor Żelazny
1eeecb2b5a
gnu: Add r-sungeo.
* gnu/packages/cran.scm (r-sungeo): New variable.
2022-07-01 10:33:01 +02:00
Wiktor Żelazny
5ae0d8a9d0
gnu: Add r-measurements.
* gnu/packages/cran.scm (r-measurements): New variable.
2022-07-01 10:33:01 +02:00
Wiktor Żelazny
c359153ac4
gnu: Add r-cartogram.
* gnu/packages/cran.scm (r-cartogram): New variable.
2022-07-01 10:33:01 +02:00
Wiktor Żelazny
e008aee36f
gnu: Add r-automap.
* gnu/packages/cran.scm (r-automap): New variable.
2022-07-01 10:33:01 +02:00
Wiktor Żelazny
525457cc8b
gnu: Add r-gstat.
* gnu/packages/cran.scm (r-gstat): New variable.
2022-07-01 10:33:01 +02:00
Wiktor Żelazny
3cefd8ba5f
gnu: Add r-spacetime.
* gnu/packages/cran.scm (r-spacetime): New variable.
2022-07-01 10:33:00 +02:00
Mădălin Ionel Patrașcu
ec23d7caa8
gnu: Add r-antiprofiles.
* gnu/packages/bioconductor.scm (r-antiprofiles): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 10:28:22 +02:00
Mădălin Ionel Patrașcu
3109d4a30e
gnu: Add r-annmap.
* gnu/packages/bioconductor.scm (r-annmap): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 10:28:21 +02:00
Mădălin Ionel Patrașcu
f004033b47
gnu: Add r-anf.
* gnu/packages/bioconductor.scm (r-anf): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 10:28:21 +02:00
Mădălin Ionel Patrașcu
4c294ae7fb
gnu: Add r-anaquin.
* gnu/packages/bioconductor.scm (r-anaquin): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-01 10:28:21 +02:00
Vagrant Cascadian
b7e414982d
gnu: opensbi: Update to 1.1.
* gnu/packages/firmware.scm (make-opensbi-package): Update to 1.1.
2022-06-30 15:39:29 -07:00
Marius Bakke
f9dd754fb1
gnu: itstool: Update home page.
* gnu/packages/glib.scm (itstool)[home-page]: Use HTTPS and remove defunct
subdomain.
2022-06-30 23:01:28 +02:00
Marius Bakke
3fc6709d42
gnu: cURL: Replace with 7.84.0 [security fixes].
This fixes CVE-2022-22576, CVE-2022-27774, CVE-2022-27775, CVE-2022-27776,
CVE-2022-27781, and CVE-2022-27782.

* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl-7.84.0): New private variable.
2022-06-30 23:01:28 +02:00
Marius Bakke
d06de25cd2
gnu: cURL: Update source URI.
* gnu/packages/curl.scm (curl)[source](uri): Follow redirect.
2022-06-30 23:01:28 +02:00
Pierre Neidhardt
eac290933f
gnu: Add sketch.
* gnu/packages/lisp-xyz.scm (cl-sketch, ecl-sketch, sbcl-sketch): New variables.
2022-06-30 20:01:38 +02:00
Pierre Neidhardt
90300336a2
gnu: Add cl-sdl2-ttf.
* gnu/packages/lisp-xyz.scm (cl-sdl2-ttf, ecl-sdl2-ttf, sbcl-sdl2-ttf): New variables.
2022-06-30 20:01:38 +02:00
Pierre Neidhardt
4782f99fa7
gnu: Add cl-sdl2-image.
* gnu/packages/lisp-xyz.scm (cl-sdl2-image, ecl-cl-sdl2-image,
sbcl-cl-sdl2-image): New variables.
2022-06-30 20:01:38 +02:00
Pierre Neidhardt
ea917c7abd
gnu: Add cl-geometry.
* gnu/packages/lisp-xyz.scm (cl-geometry, ecl-cl-geometry, sbcl-cl-geometry):
New variables.
2022-06-30 20:01:38 +02:00
Pierre Neidhardt
1adf2d7fe3
gnu: Add cl-trees.
* gnu/packages/lisp-xyz.scm (cl-trees, ecl-cl-trees, sbcl-cl-trees): New variables.
2022-06-30 20:01:38 +02:00
Pierre Neidhardt
c5dcaa6ff2
gnu: Add glkit.
* gnu/packages/lisp-xyz.scm (cl-glkit, ecl-glkit, sbcl-glkit): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
d5170f78f5
gnu: Add sdl2kit.
* gnu/packages/lisp-xyz.scm (cl-sdl2kit, ecl-sdl2kit, sbcl-sdl2kit): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
141d01e670
gnu: Add mathkit.
* gnu/packages/lisp-xyz.scm (cl-mathkit, ecl-mathkit, sbcl-mathkit): New
variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
995409022f
gnu: Add sb-cga.
* gnu/packages/lisp-xyz.scm (cl-sb-cga, ecl-sb-cga, sbcl-sb-cga): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
0eac11139a
gnu: sbcl: Enable sb-gmp, sb-mpfr and install shared library.
* gnu/packages/lisp.scm (sbcl)[inputs]: Add gmp, mpfr.
[arguments]: Fix shared library makefile.
Fix contrib references to gmp and mpfr.
Add phase to build shared library.
Add phase to install shared library.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
a3d65bd247
gnu: Add physical-quantities.
* gnu/packages/lisp-xyz.scm (cl-physical-quantities, ecl-physical-quantities,
sbcl-physical-quantities): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
efe2efd72a
gnu: Add parseq.
* gnu/packages/lisp-xyz.scm (cl-parseq, ecl-parseq, sbcl-parseq): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
3c509d98ed
gnu: Add slot-extra-options.
* gnu/packages/lisp-xyz.scm (cl-slot-extra-options, ecl-slot-extra-options,
sbcl-slot-extra-options): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
d1bb3bab4b
gnu: sbcl-parachute: Update to 20210920.
* gnu/packages/lisp-check.scm (sbcl-parachute): Update to 20210920.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
1d2a1bcb44
gnu: Add polymorphic-functions.
* gnu/packages/lisp-xyz.scm (cl-polymorphic-functions,
ecl-polymorphic-functions, sbcl-polymorphic-functions): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
60c00cdd60
gnu: Add ctype.
* gnu/packages/lisp-xyz.scm (cl-ctype, ecl-ctype, sbcl-ctype): New variables.
2022-06-30 20:01:37 +02:00
Pierre Neidhardt
2e08e8a648
gnu: Add compiler-macro-notes.
* gnu/packages/lisp-xyz.scm (cl-compiler-macro-notes,
ecl-compiler-macro-notes, sbcl-compiler-macro-notes): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
b754c3da53
gnu: Add fast-generic-functions.
* gnu/packages/lisp-xyz.scm (cl-fast-generic-functions,
ecl-fast-generic-functions, sbcl-fast-generic-functions): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
7bf53a25e8
gnu: Add sealable-metaobjects.
* gnu/packages/lisp-xyz.scm (cl-sealable-metaobjects,
ecl-sealable-metaobjects, sbcl-sealable-metaobjects): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
9770c7c98c
gnu: Add dynamic-mixins.
* gnu/packages/lisp-xyz.scm (cl-dynamic-mixins, ecl-dynamic-mixins,
sbcl-dynamic-mixins): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
a034032066
gnu: Add defstar.
* gnu/packages/lisp-xyz.scm (cl-defstar, ecl-defstar, sbcl-defstar): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
0b23663c52
gnu: Add filtered-functions.
* gnu/packages/lisp-xyz.scm (cl-filtered-functions, ecl-filtered-functions,
sbcl-filtered-functions): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
ebbccd90de
gnu: Add cl-definitions.
* gnu/packages/lisp-xyz.scm (cl-definitions, ecl-definitions,
sbcl-definitions): New variables.
2022-06-30 20:01:36 +02:00
Pierre Neidhardt
fc573330dd
gnu: sbcl-cl-reexport: Update to 20210219.
* gnu/packages/lisp-xyz.scm (sbcl-cl-reexport): Update to 20210219.
[native-inputs]: Add sbcl-prove.
[description]: Fix typo.
2022-06-30 20:01:36 +02:00