Commit graph

95075 commits

Author SHA1 Message Date
Ludovic Courtès
211fe3f66e
services: bitlbee: Use 'make-inetd-constructor'.
* gnu/services/messaging.scm (bitlbee-shepherd-service): Add call to
'least-authority-wrapper'.  In 'start' method, use
'make-inetd-constructor' when available.
* gnu/tests/messaging.scm (run-bitlbee-test)["valid PID"]: Remove test.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
fd57ce267c
services: dicod: Use 'make-inetd-constructor'.
* gnu/services/dict.scm (dicod-shepherd-service): Use
'make-inetd-constructor' in the 'start' method when available.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
002bcb7eb0
services: dicod: Rewrite using 'least-authority-wrapper'.
* gnu/services/dict.scm (dicod-shepherd-service): Rewrite using
'least-authority-wrapper' plus 'make-forkexec-constructor' instead of
'make-forkexec-constructor/container'.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
3682bd4003
Add (guix least-authority).
* guix/least-authority.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/build/shepherd.scm (default-mounts): Make public.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
391bd14359
linux-container: Add #:child-is-pid1? parameter to 'call-with-container'.
* gnu/build/linux-container.scm (wait-child-process)
(status->exit-status): New procedures.
(call-with-container): Add #:child-is-pid1? parameter and honor it.
[thunk*]: New variable.  Pass it to 'run-container'.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
f6c9763984
linux-container: Ensure signal-handling asyncs get a chance to run.
Previously we could enter the blocking 'waitpid' call and miss an
opportunity to run the signal handler async.

* gnu/build/linux-container.scm (call-with-container)
[periodically-schedule-asyncs]: New procedure.
[install-signal-handlers]: Call it.
2022-05-01 21:30:35 +02:00
Ludovic Courtès
a76fa226c8
linux-container: 'call-with-container' relays SIGTERM and SIGINT.
* gnu/build/linux-container.scm (call-with-container): Add #:relayed-signals.
[install-signal-handlers]: New procedure.
Call it.
2022-05-01 21:30:34 +02:00
Ludovic Courtès
eaebc7f2b7
file-systems: Avoid load-time warnings when attempting to load (guix store).
This makes sure warnings like "incompatible bytecode version" don't go
through when looking for (guix store).

* gnu/system/file-systems.scm (%store-prefix): Parameterize
'current-warning-port' around 'resolve-module' call.
2022-05-01 21:30:34 +02:00
Ludovic Courtès
774f8804ba
gexp: Add 'references-file'.
* gnu/services/base.scm (references-file): Remove.
* guix/gexp.scm (references-file): New procedure.
* tests/gexp.scm ("references-file"): New test.
2022-05-01 21:30:34 +02:00
Julien Lepiller
6b4124cdcc
nls: Update translations.
po/guix/ja.po: New file.
po/guix/LINGUAS: Add it.
2022-05-01 18:07:34 +02:00
Julien Lepiller
674124b1ed
gnu: ocaml-uuidm: Update to 0.9.8.
* gnu/packages/ocaml.scm (ocaml-uuidm): Update to 0.9.8.
(ocaml4.07-uuidm): New variable.
2022-05-01 17:05:58 +02:00
Julien Lepiller
c34ac580dc
gnu: ocamlformat: Update to 0.21.0.
* gnu/packages/ocaml.scm (ocamlformat): Update to 0.21.0.
2022-05-01 17:03:46 +02:00
Julien Lepiller
e719135a57
gnu: ocaml-cmdliner: Update to 1.1.0.
Cmdliner changed its output format, so two packages need to be modified
to accept the new format.

The patch modifies ocaml 4.07 packages to ensure this patch results in the
same derivations for these variants.

* gnu/packages/ocaml.scm (ocaml-cmdliner): Update to 1.1.0.
(ocaml-alcotest, ocaml-mdx)[arguments]: Fix tests.
(ocaml4.07-cmdliner): New variable.
(ocaml4.07-alcotest): Do not fix tests.
2022-05-01 17:03:02 +02:00
Julien Lepiller
3d5d09abb8
gnu: ocaml-re: Update to 1.10.4.
* gnu/packages/ocaml.scm (ocaml-re): Update to 1.10.4.
2022-05-01 13:14:59 +02:00
Julien Lepiller
be83b59d31
gnu: ocaml-spawn: Update to 0.15.1.
* gnu/packages/ocaml.scm (ocaml-spawn): Update to 0.15.1.
2022-05-01 13:14:59 +02:00
Julien Lepiller
a342c32cd5
gnu: ocaml-ppx-fields-conv: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-fields-conv): Update to 0.15.0.
2022-05-01 13:14:59 +02:00
Julien Lepiller
6d97a08525
gnu: ocaml-parsexp: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-parsexp): Update to 0.15.0.
2022-05-01 13:14:59 +02:00
Julien Lepiller
88ee602039
gnu: ocaml-ppx-hash: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-hash): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
db20b6c133
gnu: ocaml-ppx-sexp-value: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-sexp-value): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
4ce554c6da
gnu: ocaml-jst-config: Update to 0.15.1.
* gnu/packages/ocaml.scm (ocaml-jst-config): Update to 0.15.1.
2022-05-01 13:14:58 +02:00
Julien Lepiller
ae08819ca5
gnu: ocaml-ppx-stable: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-stable): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
85b23e64e2
gnu: ocaml-ppx-base: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-base): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
72ca35c539
gnu: ocaml-ppx-compare: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-compare): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
d1a4653bf6
gnu: ocaml-jane-street-headers: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-jane-street-headers): Update to 0.15.0.
2022-05-01 13:14:58 +02:00
Julien Lepiller
0cea8f99aa
gnu: ocaml-base-bigstring: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-base-bigstring): Update to 0.15.0.
2022-05-01 13:14:57 +02:00
Julien Lepiller
4fe2489816
gnu: ocaml-core: Update to 0.15.0.
These packages cannot be updated individually.

* gnu/packages/ocaml.scm (ocaml-ppx-inline-test, ocaml-sexplib0)
(ocaml-sexplib, ocaml-base, ocaml-stdio, ocaml-ppx-sexp-conv)
(ocaml-ppx-expect, ocaml-base-quickcheck, ocaml-core)
(ocaml-core-kernel, ocaml-timezone): Update to 0.15.0.
(ocaml-ppxlib): Fix tests.
(ocaml-int-repr): New variable.
2022-05-01 13:14:57 +02:00
Julien Lepiller
e8a3a1d279
gnu: ocaml-ppxlib: Update to 0.25.0.
* gnu/packages/ocaml.scm (ocaml-ppxlib): Update to 0.25.0.
2022-05-01 13:14:57 +02:00
Julien Lepiller
556ccb4ae1
gnu: coq: Update to 8.15.1.
* gnu/packages/coq.scm (coq): Update to 8.15.1.
2022-05-01 13:14:57 +02:00
Julien Lepiller
b27a2366ab
gnu: ocaml-hex: Update to 1.5.0.
* gnu/packages/ocaml.scm (ocaml-hex): Update to 1.5.0.
2022-05-01 13:14:57 +02:00
Julien Lepiller
ab8d68cadd
gnu: ocaml-easy-format: Update to 1.3.3.
* gnu/packages/ocaml.scm (ocaml-easy-format): Update to 1.3.3.
2022-05-01 13:14:57 +02:00
Julien Lepiller
cda4ca0ab5
gnu: ocaml-variantslib: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-variantslib): Update to 0.15.0.
2022-05-01 13:14:56 +02:00
Julien Lepiller
f076cdba02
gnu: ocaml-ppx-optcomp: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-optcomp): Update to 0.15.0.
2022-05-01 13:14:56 +02:00
Julien Lepiller
ffdd749ad5
gnu: ocaml-cstruct: Update to 6.1.0.
* gnu/packages/ocaml.scm (ocaml-cstruct): Update to 6.1.0.
2022-05-01 13:14:56 +02:00
Julien Lepiller
ae7c2c4b16
gnu: ocaml-ppx-bin-prot: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-bin-prot): Update to 0.15.0.
2022-05-01 13:14:56 +02:00
Julien Lepiller
143b9d3a3d
gnu: ocaml-ppx-jane: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-jane): Update to 0.15.0.
2022-05-01 13:14:56 +02:00
Julien Lepiller
564a310065
gnu: Add ocaml-ppx-disable-unused-warnings.
* gnu/packages/ocaml.scm (ocaml-ppx-disable-unused-warnings): New
  variable.
2022-05-01 13:14:56 +02:00
Julien Lepiller
823005c6a3
gnu: Add ocaml-ppx-log.
* gnu/packages/ocaml.scm (ocaml-ppx-log): New variable.
2022-05-01 13:14:56 +02:00
Julien Lepiller
044b42720d
gnu: Add ocaml-ppx-ignore-instrumentation.
* gnu/packages/ocaml.scm (ocaml-ppx-ignore-instrumentation): New
  variable.
2022-05-01 13:14:55 +02:00
Julien Lepiller
a9e8b6e7a2
gnu: ocaml-opam-file-format: Update to 2.1.4.
* gnu/packages/ocaml.scm (ocaml-opam-file-format): Update to 2.1.4.
2022-05-01 13:14:55 +02:00
Julien Lepiller
43b95fbe7a
gnu: ocaml-ctypes: Update to 0.20.1.
* gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.20.1.
2022-05-01 13:14:55 +02:00
Julien Lepiller
2708cece85
gnu: ocaml-integers: Update to 0.7.0.
* gnu/packages/ocaml.scm (ocaml-integers): Update to 0.7.0.
2022-05-01 13:14:55 +02:00
Julien Lepiller
6abb5fe8a9
gnu: ocaml-ppx-bench: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-bench): Update to 0.15.0.
2022-05-01 13:14:55 +02:00
Julien Lepiller
25a027b949
gnu: dune: Update to 3.1.1.
* gnu/packages/ocaml.scm (dune): Update to 3.1.1.
2022-05-01 13:14:55 +02:00
Julien Lepiller
20c090e572
gnu: ocaml-ppx-pipebang: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-pipebang): Update to 0.15.0.
2022-05-01 13:14:55 +02:00
Julien Lepiller
26e3face3d
gnu: ocaml-ppx-custom-printf: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-custom-printf): Update to 0.15.0.
2022-05-01 13:14:54 +02:00
Julien Lepiller
b45833f512
gnu: ocaml-ppx-module-timer: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-module-timer): Update to 0.15.0.
2022-05-01 13:14:54 +02:00
Julien Lepiller
0fe56e5bb2
gnu: ocaml-ppx-let: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-let): Update to 0.15.0.
2022-05-01 13:14:54 +02:00
Julien Lepiller
c49e0ef477
gnu: ocaml-ppx-variants-conv: Update to 0.15.0.
* gnu/packages/ocaml.scm (ocaml-ppx-variants-conv): Update to 0.15.0.
2022-05-01 13:14:54 +02:00
Julien Lepiller
3e9c40158a
gnu: ocaml-utop: Update to 2.9.1.
* gnu/packages/ocaml.scm (ocaml-utop): Update to 2.9.1.
2022-05-01 13:14:54 +02:00
Julien Lepiller
217180c1f3
gnu: ocaml-bisect-ppx: Update to 2.8.1.
* gnu/packages/ocaml.scm (ocaml-bisect-ppx): Update to 2.8.1.
2022-05-01 13:14:54 +02:00