Commit graph

94407 commits

Author SHA1 Message Date
Ludovic Courtès
28b3763e33
secret-service: Allow cooperative scheduling when Fibers is used.
This lets the 'childhurd' service start in the background, letting
shepherd perform other tasks in the meantime, including serving
clients (such as the 'herd' command).

* gnu/build/secret-service.scm (with-modules): New macro.
(wait-for-readable-fd): Add cooperative implementation when Fibers is in
use.
(secret-service-send-secrets): Define 'sleep' so that it cooperates when
Fibers is in use.
2022-04-07 00:08:56 +02:00
Ludovic Courtès
83121aa85a
secret-service: Abstract 'wait-for-readable-fd'.
* gnu/build/secret-service.scm (wait-for-readable-fd): New procedure.
(secret-service-send-secrets): Use it instead of 'select'.
2022-04-07 00:08:56 +02:00
Ludovic Courtès
808b9e8504
services: openssh: Start as an inetd service.
* gnu/services/ssh.scm (openssh-shepherd-service): Use
'make-inetd-constructor' when it is defined.
(<openssh-configuration>)[max-connections]: New field.
* gnu/tests/ssh.scm (run-ssh-test)["sshd PID"]: Adjust to cope with
PID-FILE being #f.
* gnu/tests/ssh.scm (%test-openssh): Pass #f as the 'pid-file'
argument.
* doc/guix.texi (Networking Services): Document 'max-connections'.
2022-04-07 00:08:56 +02:00
Ludovic Courtès
22ab901466
home: shepherd: Default to version 0.9.
* gnu/home/services/shepherd.scm (<home-shepherd-configuration>)[shepherd]:
Default to SHEPHERD-0.9.
(home-shepherd-configuration-file): Use 'start-in-the-background' when
it is defined.
2022-04-07 00:08:56 +02:00
Ludovic Courtès
400c9ed3d7
services: shepherd: Default to version 0.9.
* gnu/services/shepherd.scm (scm->go): Define 'shepherd&co' and pass it
to 'with-extensions'.
(shepherd-configuration-file): Call 'start-in-the-background' when it is
defined.
(<shepherd-configuration>)[shepherd]: Default to SHEPHERD-0.9.
* gnu/system.scm (hurd-default-essential-services): Use SHEPHERD-0.8.
2022-04-07 00:08:56 +02:00
Ludovic Courtès
938448bf40
shepherd: Adjust 'fork+exec-command/container' for the Shepherd 0.9.
* gnu/build/shepherd.scm (exec-command*): New procedure, with code
formerly...
(make-forkexec-constructor/container): ... here.  Use it.
(fork+exec-command/container): Use 'fork+exec-command' only when
CONTAINER-SUPPORT? is false or PID is the current process.
2022-04-07 00:08:55 +02:00
Ludovic Courtès
d4172babe0
gnu: shepherd: Add 0.9.0.
* gnu/packages/admin.scm (shepherd): Rename to...
(shepherd-0.8): ... this.  New variable.
(shepherd): Define as an alias for SHEPHERD-0.8.
(shepherd-0.9): New variable.
(guile2.2-shepherd): Inherit from SHEPHERD-0.9 and adjust inputs
accordingly.
2022-04-07 00:08:55 +02:00
Efraim Flashner
aacd44278b
gnu: lagrange: Update to 1.12.1.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.12.1.
2022-04-06 23:33:28 +03:00
Efraim Flashner
00ce149606
gnu: keepassxc: Update to 2.7.1.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.7.1.
2022-04-06 23:31:22 +03:00
Efraim Flashner
3ac90f92a0
gnu: vim: Update to 8.2.4701.
* gnu/packages/vim.scm (vim): Update to 8.2.4701.
[arguments]: Adjust custom 'skip-or-fix-failing-tests phase to skip
another test.
2022-04-06 22:57:48 +03:00
Mathieu Othacehe
c2125e59d0
installer: user: Remove useless filtering.
* gnu/installer/user.scm (users->configuration): Remove root account filtering
that is now performed in the "run-user-add-page" procedure.
2022-04-06 21:19:08 +02:00
Mathieu Othacehe
2bfb27af56
installer: user: Forbid root user creation.
Forbid root user creation as it could lead to a system without any
non-priviledged user accouts.

Fixes: <https://issues.guix.gnu.org/54666>.

* gnu/installer/newt/user.scm (run-user-add-page): Forbid it.
2022-04-06 21:19:07 +02:00
Ricardo Wurmus
3b262b51fa
gnu: python-pybtex: Update to 0.24.0.
* gnu/packages/python-xyz.scm (python-pybtex): Update to 0.24.0.
[native-inputs]: Remove python-nose; add python-pytest.
[inputs]: Move python-latexcodec, python-pyyaml, and python-six from here...
[propagated-inputs]: ...to here.
[arguments]: Use pytest.
2022-04-06 12:37:33 +02:00
Ricardo Wurmus
e1df15794b
gnu: python-latexcodec: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-latexcodec): Update to 2.0.1.
[inputs]: Move python-six from here...
[propagated-inputs]: ...to here.
2022-04-06 12:37:10 +02:00
Hong Li
e3e3381fdb
gnu: Add r-rnaseqdtu.
* gnu/packages/bioinformatics.scm (r-rnaseqdtu): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-04-06 11:43:46 +02:00
Hong Li
730ac9ab85
gnu: Add r-stager.
* gnu/packages/bioconductor.scm (r-stager): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-04-06 11:43:46 +02:00
Hong Li
a8182f386e
gnu: Add r-rafalib.
* gnu/packages/cran.scm (r-rafalib): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-04-06 11:43:46 +02:00
Mark H Weaver
3b3cc9dfed
gnu: icecat: Update to 91.8.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2022-1097, CVE-2022-1196, CVE-2022-24713,
CVE-2022-28281, CVE-2022-28282, CVE-2022-28285, CVE-2022-28286, and
CVE-2022-28289.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2022-04-05 18:12:15 -04:00
Liliana Marie Prikler
4bfb75531c
gnu: poco: Make description a full sentence.
* gnu/packages/cpp.scm (poco)[description]: Expand into a full sentence.
2022-04-05 21:17:59 +02:00
Ricardo Wurmus
d643ef38ed
gnu: u-boot-rockpro64-rk3399: Add support for booting from SCSI/SATA.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Add
  'patch-config phase to support SCSI/SATA disks.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2022-04-05 12:05:28 -07:00
Vagrant Cascadian
4a0d045990
gnu: u-boot: Update to 2022.04.
* gnu/packages/bootloaders.scm (u-boot): Update to 2022.01.
  [native-inputs]: Add gnutls, tinfo, libuuid.
  (u-boot-qemu-riscv64-smode): Drop custom
  patches.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh patch.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Remove patch,
  applied upstream.
* gnu/local.mk (dist_patch_DATA): Update with removed patches.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2022-04-05 12:05:22 -07:00
Vagrant Cascadian
20302e0b16
gnu: Add ncurses-with-tinfo.
* gnu/packages/ncurses.scm (ncurses/tinfo): New variable.
2022-04-05 12:05:19 -07:00
Andrew Tropin
e777c3e34c
gnu: l2md: Update to 9db252bc.
[[PGP Signed Part:No public key for 2208D20958C1DEB0 created at 2022-03-28T11:03:48+0200 using RSA]]

* gnu/packages/mail.scm (l2md): Update to 9db252bc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:41 +02:00
Attila Lendvai
9ef6d80ef4
services: messaging: Fix two copy-paste mistakes; avoid warnings.
* gnu/services/messaging.scm (file-name-list, file-object-list): Fix
name in 'define-maybe' instances.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:41 +02:00
ykonai
84e0cbbc9c
gnu: plocate: Build with "--sharedstatedir=/var".
Current plocate package sets the --sharedstatedir to a store directory, which
causes updatedb and plocate to fail by default since the store is immutable.
This will set the default database path to /var/cache/plocate.db instead.

* gnu/packages/search.scm (plocate): Change build options.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:41 +02:00
Leo Nikkilä
d15a601a85
gnu: phodav: Use libsoup 2 instead of libsoup 3.
Looks like phodav requires libsoup 2. Example of failing build logs,
wanting libsoup 2.4: <https://ci.guix.gnu.org/build/584454/log/raw>

After swapping the dependency, tests were failing due to HOME not being
writable. I added a new build phase to account for this. I also removed
the start-virtual-dir-server phase which no longer seems required, the
tests pass without it.

* gnu/packages/gnome.scm (phodav): Fix build, tests.
[inputs]: Replace libsoup 3 with libsoup 2.
[arguments]<#:phases>[set-temporary-home]: New phase.
[arguments]<#:phases>[start-virtual-dir-server]: Remove phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
jgart
86ee397e26
gnu: pantheon-calculator: Update to 1.7.2.
* gnu/packages/pantheon.scm (pantheon-calculator): Update to 1.7.2.
[arguments]: Remove trailing boolean.
[inputs]: Use guix style and add libhandy input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
Felix Gruber
c9cca908fa
gnu: python-w3lib: Fix build.
* gnu/packages/python-web.scm (python-w3lib): Fix build.
  [source]: Add python-w3lib-fix-test-failure.patch.
  [arguments]: Use pytest in the 'check phase.
  [native-inputs]: Add python-pytest.
* gnu/packages/patches/python-w3lib-fix-test-failure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
Zhu Zihao
27a6e8501f
gnu: python-gst: Fix the concatenation of install path.
Fixes a regression introduced in a5c2e7961c.

* gnu/packages/gstreamer.scm (python-gst):
[arguments]:
<configure-flags>: Add missing leading slash.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
jgart
9d25dab4db
gnu: python-dotenv: Update to 0.20.0.
* gnu/packages/python-xyz.scm (python-dotenv): Update to 0.20.0.
[home-page]: Update home page.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
antlers
0748d3febd
gnu: linux: Allow kconfig options to be strings
* gnu/packages/linux.scm (config->string): add a clause handling strings

Allows for the declarative configuration of kconfig options which accept
strings, such as CONFIG_MODULE_SIG_KEY.

I've enclosed the given string in quotes, but don't do any kind of
escaping. See the kernel mailing list for the current state of escaped
strings upstream:

https://patchwork.kernel.org/project/linux-kbuild/patch/1431003982-992-1-git-send-email-sr@denx.de/

Apologies to those with double-quotes or backslashes in their
CONFIG_SYSTEM_*_KEYS.

Signed-off-by: antlers <autumnalantlers@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:40 +02:00
Michael Rohleder
3e599b99da
gnu: celluloid: Update to 0.23.
* gnu/packages/video.scm (celluloid): Update to 0.23.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:39 +02:00
Aleksandr Vityazev
1e0cd871b8
doc: Update the sample yggdrasil-private.conf.
* doc/guix.texi (Networking Services): Update the sample yggdrasil-private.conf.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:39 +02:00
Imran Iqbal
1fed7ab09e
gnu: curlie: Update to 1.6.9
* gnu/packages/curl.scm (curlie): Update to 1.6.9

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:39 +02:00
Daniel Meißner
2a70e7922c
gnu: xmonad-next: Change #:phases to gexp.
* gnu/packages/wm.scm (xmonad-next)[arguments]: Use #$output, #$name
and #$synopsis instead of %output, name and synopsis.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-05 20:41:39 +02:00
Ricardo Wurmus
66177c2b87
Merge branch 'wip-pyyaml' 2022-04-05 19:03:57 +02:00
Ricardo Wurmus
df2dc0c416
gnu: pigx-scrnaseq: Set NUMBA_CACHE_DIR.
This is needed since the update of python-loompy.

* gnu/packages/bioinformatics.scm (pigx-scrnaseq)[arguments]: Rename
'set-PYTHONPATH to 'set-additional-environment-variables and set
NUMBA_CACHE_DIR.
2022-04-05 18:40:48 +02:00
Ricardo Wurmus
e721122069
gnu: pigx-scrnaseq: Use new inputs style.
* gnu/packages/bioinformatics.scm (pigx-scrnaseq)[inputs]: Use plain list.
2022-04-05 18:40:48 +02:00
Ricardo Wurmus
5d1c9fcdcf
gnu: pigx-scrnaseq: Update to 1.1.8.
* gnu/packages/bioinformatics.scm (pigx-scrnaseq): Update to 1.1.8.
[patches]: Remove.
[native-inputs]: Remove.
* gnu/packages/patches/pigx-scrnaseq-no-citeproc.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2022-04-05 18:40:48 +02:00
Florian Pelz
029cb8c95f
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix shell --export-manifest' entry.
2022-04-05 16:28:48 +02:00
Ricardo Wurmus
860010ac2a
gnu: r-with-tests: Update to 4.1.3.
* gnu/packages/statistics.scm (r-with-tests): Update to 4.1.3.
2022-04-05 15:14:41 +02:00
Greg Hogan
78e8c20179
gnu: git: Update to 2.35.1.
* gnu/packages/version-control.scm (git): Update to 2.35.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-04-05 08:48:47 -04:00
Maxim Cournoyer
8a9bf794e1
Revert "gnu: git: Update to 2.35.1."
This reverts commit 223a3d7f7f, as it triggered
thousands of rebuilds due to inadvertently touching git-minimal/fixed.

Reported-by: Christopher Baines <mail@cbaines.net>
2022-04-05 08:41:36 -04:00
Ricardo Wurmus
27720d0fe1
gnu: python-pyyaml: Update to 6.0.
* gnu/packages/python-xyz.scm (python-pyyaml): Update to 6.0.
2022-04-05 10:56:28 +02:00
Ricardo Wurmus
d3e1a94391
gnu: python2-pyyaml: Detach source from python-pyyaml.
* gnu/packages/python-xyz.scm (python2-pyyaml): Override source and version
fields.
(python-pyyaml)[properties]: Add python2-variant.
2022-04-05 10:56:23 +02:00
Leo Famulari
20303c0b1c
gnu: eyeD3: Update to 0.9.6.
* gnu/packages/mp3.scm (eyed3): Update to 0.9.6.
[propagated-inputs]: Add python-deprecation and python-filetype.
2022-04-04 19:57:12 -04:00
Ludovic Courtès
b1e7e64f35
news: Add entry about 'guix shell --export-manifest'.
* etc/news.scm: Add entry.
2022-04-04 23:12:07 +02:00
Ludovic Courtès
c42b7baf13
shell: Add '--export-manifest'.
* guix/scripts/shell.scm (show-help, %options): Add '--export-manifest'.
(manifest-entry-version-prefix, manifest->code*)
(export-manifest): New procedures.
(guix-shell): Honor '--export-manifest'.
* tests/guix-shell-export-manifest.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix shell): Document '--export-manifest'.
(Invoking guix environment): Link to it.
(Invoking guix pack): Likewise.
2022-04-04 22:58:04 +02:00
Ludovic Courtès
6fed836a6f
environment: Export 'load-manifest'.
* guix/scripts/environment.scm (load-manifest): New procedure.
(options/resolve-packages): Use it.
2022-04-04 22:58:03 +02:00
Ludovic Courtès
f54f2aa9df
packages: Add 'package-unique-version-prefix'.
* gnu/packages.scm (package-unique-version-prefix): New procedure.
* guix/scripts/package.scm (manifest-entry-version-prefix): Use it.
* tests/packages.scm ("package-unique-version-prefix, gcc@8")
("package-unique-version-prefix, grep"): New tests.
2022-04-04 22:58:03 +02:00