Commit graph

94551 commits

Author SHA1 Message Date
Julien Lepiller
9fe3632e64
gnu: Add ocaml-ppx-jane.
* gnu/packages/ocaml.scm (ocaml-ppx-jane): New variable.
(ocaml4.07-ppx-jane): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:40 +02:00
Julien Lepiller
e487d5666a
gnu: Add ocaml-ppx-fail.
* gnu/packages/ocaml.scm (ocaml-ppx-fail): New variable.
(ocaml4.07-ppx-fail): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:39 +02:00
Julien Lepiller
49a106f14e
gnu: Add ocaml-base-quickcheck.
* gnu/packages/ocaml.scm (ocaml-base-quickcheck): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:36 +02:00
Julien Lepiller
5e448f5f94
gnu: Add ocaml-splittable-random.
* gnu/packages/ocaml.scm (ocaml-splittable-random): New variable.
(ocaml4.07-splittable-random): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:33 +02:00
Julien Lepiller
acb69501da
gnu: Add ocaml-ppx-sexp-message.
* gnu/packages/ocaml.scm (ocaml-ppx-sexp-message): New variable.
(ocaml4.07-ppx-sexp-message): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:30 +02:00
Julien Lepiller
166168c208
gnu: Add ocaml-ppx-sexp-value.
* gnu/packages/ocaml.scm (ocaml-ppx-sexp-value): New variable.
(ocaml4.07-ppx-sexp-value): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:29 +02:00
Julien Lepiller
755122b3af
gnu: Add ocaml-ppx-bench.
* gnu/packages/ocaml.scm (ocaml-ppx-bench): New variable.
(ocaml4.07-ppx-bench): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:26 +02:00
Julien Lepiller
e5deab0a7a
gnu: Add ocaml-ppx-bin-prot.
* gnu/packages/ocaml.scm (ocaml-ppx-bin-prot): New variable.
(ocaml4.07-ppx-bin-prot): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:24 +02:00
Julien Lepiller
76a416bf04
gnu: Add ocaml-bin-prot.
* gnu/packages/ocaml.scm (ocaml-bin-prot): New variable.
(ocaml4.07-bin-prot): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:23 +02:00
Julien Lepiller
6f8ae2b2b9
gnu: Add ocaml-ppx-fixed-literal.
* gnu/packages/ocaml.scm (ocaml-ppx-fixed-literal): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:21 +02:00
Julien Lepiller
a703b1d9c5
gnu: Add ocaml-ppx-module-timer.
* gnu/packages/ocaml.scm (ocaml-ppx-module-timer): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:19 +02:00
Julien Lepiller
5caa91e219
gnu: Add ocaml-ppx-pipebang.
* gnu/packages/ocaml.scm (ocaml-ppx-pipebang): New variable.
(ocaml4.07-ppx-pipebang): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:18 +02:00
Julien Lepiller
bee0de9365
gnu: Add ocaml-ppx-stable.
* gnu/packages/ocaml.scm (ocaml-ppx-stable): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:15 +02:00
Julien Lepiller
ca36468083
gnu: Add ocaml-ppx-string.
* gnu/packages/ocaml.scm (ocaml-ppx-string): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:12 +02:00
Julien Lepiller
a18414adc4
gnu: Add ocaml-ppx-typerep-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-typerep-conv): New variable.
(ocaml4.07-ppx-typerep-conv): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:10 +02:00
Julien Lepiller
d9f0685dea
gnu: Add ocaml-typerep.
* gnu/packages/ocaml.scm (ocaml-typerep): New variable.
(ocaml4.07-typerep): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:07 +02:00
Julien Lepiller
36e0e198fe
gnu: Add ocaml-spawn.
* gnu/packages/ocaml.scm (ocaml-spawn): New variable.
(ocaml4.07-spawn): Inherit from it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:56:03 +02:00
Julien Lepiller
d59abc336d
import: opam: Factor out source import.
This also ensures a package can be imported even when it does not
specify a URL.

* guix/import/opam.scm (opam->guix-source): New procedure.
(opam->guix-package): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:55:58 +02:00
Julien Lepiller
be7338d400
import: opam: Accept tabulations.
* guix/import/opam.scm (SP, SP2): Accept tabulation as whitespace.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:55:54 +02:00
pukkamustard
d79e10b7e0
gnu: ocaml-odoc: Update to 2.2.0-alpha.
* gnu/packages/ocaml.scm (ocaml-odoc): Update to 2.2.0-alpha.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 11:55:47 +02:00
Ludovic Courtès
7da907f90e
reconfigure: Fix typo on 'live-service-transient?'.
Fix typo introduced in e25eca35ff.

* guix/scripts/system/reconfigure.scm (running-services): Add question
mark to 'live-service-transient?.
2022-04-11 09:27:03 +02:00
Ludovic Courtès
f429596627
shepherd: 'fork+exec-command/container' always returns a PID.
Fixes a regression introduced in
938448bf40 whereby
'fork+exec-command/container' would return #t, then used as the running
value of the 'guix-daemon' service in the installer.  Upon installation
completion, stopping the 'guix-daemon' service would fail with
wrong-type-arg because that #t would be passed to the 'stop' method in
lieu of a PID.

* gnu/build/shepherd.scm (fork+exec-command/container): Return a PID
rather than #t.
2022-04-11 00:25:33 +02:00
Ludovic Courtès
ada530acb1
shepherd: 'exec-command*' has a valid default #:directory.
Fixes a regression introduced in
938448bf40 where 'exec-command*' could
get #:directory #f, in particular when called by
'fork+exec-command/container'.

* gnu/build/shepherd.scm (exec-command*): Add default value for #:directory.
2022-04-11 00:25:33 +02:00
Ludovic Courtès
dbde386794
tests: System tests really parameterize 'current-guix-package'.
Until now, 'current-guix-package' was parameterized in the wrong
context.  Thus, 'current-guix' would end up building a variant of the
'guix' package instead of the package returned by
'channel-source->package', which is much less expensive to build.

* etc/system-tests.scm (mparameterize): New macro.
(tests-for-current-guix): Change the 'value' field of each <system-test>
record to parameterize 'current-guix-package' for good.
2022-04-11 00:25:33 +02:00
Andrew Tropin
435e1cef00
home: symlink-manager: Handle non-existing directory during cleanup.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Handle
non-existing directory during cleanup.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 00:25:33 +02:00
Andrew Tropin
ac8e987ce2
home: shells: Rename zsh related functions.
* gnu/home/services/shells.scm (home-zsh-service-type): Make zsh related
private functions more consistently named.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-11 00:25:32 +02:00
Efraim Flashner
72abf9b9b8
gnu: jq: Only build with valgrind on supported systems.
* gnu/packages/web.scm (jq)[native-inputs]: Only include valgrind on
systems which it supports.
2022-04-10 20:49:34 +03:00
Efraim Flashner
96a132809f
gnu: smithwaterman: Fix cross-compiling.
The 'ar' matched the 'ar' in 'aarch64-linux-gnu' to unfun consequences.

* gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: More
closely match the 'ar' and 'ld' commands when substituting them.
2022-04-10 20:49:33 +03:00
Guillaume Le Vaillant
81567f751b
gnu: llvm-3: Fix build.
* gnu/packages/llvm.scm (llvm-3.9)[arguments]: Use gexp. Add
  'shared-lib-workaround' phase.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-04-10 19:22:43 +02:00
Leo Famulari
2299d2c896
gnu: linux-libre 5.10: Update to 5.10.110.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.110.
(linux-libre-5.10-pristine-source): Update hash.
2022-04-10 01:18:04 -04:00
Leo Famulari
fec46d977a
gnu: linux-libre 5.15: Update to 5.15.33.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.33.
(linux-libre-5.15-pristine-source): Update hash.
2022-04-10 01:18:04 -04:00
Leo Famulari
3d372cc2fe
gnu: linux-libre: Update to 5.16.19.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.19.
(linux-libre-5.16-pristine-source): Update hash.
2022-04-10 01:18:04 -04:00
Leo Famulari
002928c663
gnu: linux-libre 5.17: Update to 5.17.2.
* gnu/packages/linux.scm (linux-libre-5.17-version): Update to 5.17.2.
(linux-libre-5.17-pristine-source): Update hash.
2022-04-10 01:17:58 -04:00
Ludovic Courtès
ec6a585ee2
services: Test 'shepherd-service-upgrade' with transient services.
This is a followup to eeb8ac43c8.

* tests/services.scm ("shepherd-service-upgrade: transient service"):
New test.
2022-04-10 01:24:30 +02:00
Ludovic Courtès
e25eca35ff
services: herd: Adjust to <live-service> changes.
This is a followup to a2c759c830.

* guix/scripts/system/reconfigure.scm (running-services): Fill in the
'transient?' field of <live-service>.
* tests/services.scm ("shepherd-service-upgrade: one unchanged, one upgraded, one new")
("shepherd-service-upgrade: service depended on is not unloaded")
("shepherd-service-upgrade: obsolete services that depend on each
other"): Adjust calls to 'live-service'.
2022-04-10 01:15:13 +02:00
Michael Rohleder
d10cee7865
gnu: strawberry: Update to 1.0.3.
* gnu/packages/music.scm (strawberry): Update to 1.0.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:41 +02:00
Luis Felipe
e1c040b7b3
doc: package Reference: Mention syntax of package-description.
* doc/guix.texi (package Reference) <description>: Mention that the
string is in Texinfo syntax.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:41 +02:00
jgart
cec2ec4440
doc: guix: Add missing article "a".
* doc/guix.texi (Essential Home Services): Add missing article "a".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:40 +02:00
itd
b0d3f42372
gnu: efivar: Fix build errors on i686-linux.
* gnu/packages/patches/efivar-211.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (efivar)[source]<origin>: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:40 +02:00
Andrew Tropin
d6b9a3faa8
home: symlink-manager: Use no-follow version of file-exists?.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Use
no-follow version of file-exists?.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:40 +02:00
Ludovic Courtès
eeb8ac43c8
services: shepherd: Do not unload transient services.
Fixes <https://issues.guix.gnu.org/54812>.

Starting with Shepherd 0.9.0 and the use of 'make-inetd-constructor' in
commit 808b9e8504, systems might be
running transient Shepherd services such as those corresponding to SSH
connections.  Before this change, 'shepherd-service-upgrade' would have
those transient services in the list of services to unload; concretely,
that would lead all SSH connections to be closed upon 'guix system
reconfigure'.

* gnu/services/shepherd.scm (shepherd-service-upgrade): Remove transient
services to TO-UNLOAD.
2022-04-10 00:17:40 +02:00
Ludovic Courtès
a2c759c830
services: herd: Report whether a service is transient.
* gnu/services/herd.scm (<live-service>)[transient?]: New field.
(current-services): Check the value of 'transient?'.  Call
'resolve-transients'.
(resolve-transients): New procedure.
2022-04-10 00:17:40 +02:00
Marius Bakke
975966ba09
gnu: Zabbix: Update to 6.0.3.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 6.0.3.
2022-04-09 16:09:50 +02:00
Marius Bakke
aa5716703f
gnu: ganeti: Update to 3.0.2.
* gnu/packages/patches/ganeti-haskell-compat.patch,
gnu/packages/patches/ganeti-sphinx-compat.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (ganeti): Update to 3.0.2.
[source](patches): Remove obsolete.
[arguments]: Remove obsolete phases.  Disable one more test.
2022-04-09 14:27:43 +02:00
Marius Bakke
dce0249f18
gnu: ganeti: Fix test failure with PyYAML 6.0.
This fixes a regression that was introduced in
27720d0fe1.

* gnu/packages/patches/ganeti-pyyaml-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (ganeti)[source](patches): Add it.
2022-04-09 14:27:43 +02:00
Vagrant Cascadian
47b6451eb5
gnu: libxmlb: Update to 0.3.8.
* gnu/packages/xlm.scm (libxmlb): Update to 0.3.8.
2022-04-08 20:34:49 -07:00
Vagrant Cascadian
a720c900cc
gnu: reprotest: Update to 0.7.20.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.20.
2022-04-08 15:32:34 -07:00
Vagrant Cascadian
55b5ad2eeb
gnu: diffoscope: Update to 209.
* gnu/packages/diffoscope.scm (diffoscope): Update to 209.
2022-04-08 15:32:31 -07:00
Ludovic Courtès
0996d48d0e
services: rottlog: Keep fewer "guix-daemon.log" files.
* gnu/services/admin.scm (%default-rotations): For "guix-daemon.log",
add 'options' field.
2022-04-09 00:30:40 +02:00
Ludovic Courtès
090ebc5ff9
guix describe: Add missing import.
Fixes a regression introduced in
d4e858763c.

* guix/scripts/describe.scm: Add missing autoload.
2022-04-09 00:29:24 +02:00