Commit graph

94437 commits

Author SHA1 Message Date
Ludovic Courtès
931f13840b
mapped-devices: Ensure 'cryptsetup open' gets a tty.
Fixes <https://issues.guix.gnu.org/54770>.
Regression introduced in 400c9ed3d7.

Previously, for an encrypted /home (say), "cryptsetup open" would be
invoked by shepherd, with /dev/null as its standard input.  It would
thus run in non-interactive mode and, instead of asking for a
passphrase, fail with:

  Nothing to read on input.

This change ensures it runs in interactive mode.

* gnu/build/file-systems.scm (system*/console, system*/tty): New
procedures.
* gnu/system/mapped-devices.scm (open-luks-device): Use 'system*/tty'
instead of 'system*'.
2022-04-08 18:14:35 +02:00
Ludovic Courtès
df473496ed
system: hurd: Fix bogus 'initrd-modules' field.
Reported by kitzman on #guix.

* gnu/system/hurd.scm (%hurd-default-operating-system)[initrd-modules]:
Set to the empty list.
2022-04-08 18:14:35 +02:00
Ludovic Courtès
20691c70cf
tests: 'guix shell --export-manifest' test no longer needs networking.
* tests/guix-shell-export-manifest.sh: Use '--with-input' rather than
'--with-latest' as the latter would crash in the absence of network
access.
2022-04-08 18:14:35 +02:00
Jonathan Brielmaier
09ec1d6561
gnu: icedove: Update to 91.8 [fixes CVE-2022-1197].
* gnu/packages/gnuzilla.scm (icedove): Update to 91.8.
2022-04-08 16:00:23 +02:00
jgart
96bd801780
gnu: Add cl-jzon.
* gnu/packages/lisp-xyz.scm (cl-jzon, ecl-jzon, sbcl-jzon): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 10:03:58 +02:00
jgart
b67c67b027
gnu: cl-cffi: Remove trailing boolean.
* gnu/packages/lisp-xyz.scm (sbcl-cffi)[arguments]: Remove trailing boolean.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 09:53:37 +02:00
jgart
9919e423a7
gnu: cl-legit: Update to 1.0.0-2.5f8a2d4.
* gnu/packages/lisp-xyz.scm (sbcl-legit): Update to 1.0.0-2.5f8a2d4 and use
  revision variable in let block.
  [arguments]: Add 'patch-git-executable' phase.
  [inputs]: Add formatting and add missing git input.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 09:50:53 +02:00
Marius Bakke
1d4f2cdc82
gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
2022-04-07 23:12:44 +02:00
Marius Bakke
c9ce02ecff
gnu: nginx: Respect #:configure-flags.
* gnu/packages/web.scm (nginx)[arguments]: Add #:configure-flags.  Move
default settings out of the 'configure' phase.
2022-04-07 23:12:44 +02:00
Marius Bakke
4079cd9ba3
gnu: nginx: Use G-expressions.
* gnu/packages/web.scm (nginx)[arguments]: Rewrite in gexp style.  Remove
trailing #t's.
2022-04-07 23:12:44 +02:00
Marius Bakke
cee03495bf
gnu: uBlock Origin: Update to 1.42.4.
* gnu/packages/browser-extensions.scm (ublock-origin): Update to 1.42.4.
2022-04-07 23:12:44 +02:00
Marius Bakke
0b3f52051b
gnu: ungoogled-chromium: Update to 100.0.4896.75-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 100.
(%chromium-version): Set to 100.0.4896.75.
(%debian-revision): Set to debian/100.0.4896.60-1.
(%ungoogled-origin): Update hash.
(%debian-patches): Updates hashes.  Remove obsolete.
(ungoogled-chromium): Update hash.
[arguments]: Remove obsolete substitution.  Patch libvulkan.so.1 in more
files, and add absolute reference to Mesa ICDs.
2022-04-07 23:12:44 +02:00
Marius Bakke
8e8b8ffdee
gnu: ungoogled-chromium: Update to 99.0.4844.84-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 99.
(%chromium-version): Set to 99.0.4844.84.
(%ungoogled-origin): Update hash.
(ungoogled-chromium): Likewise.
[arguments]: Patch absolute file names to GTK libraries.  Patch one more
Opus header inclusion.  Remove labels in wrapping phase.
[native-inputs]: Change from CLANG-13 to CLANG-14.
[inputs]: Add AT-SPI2-ATK.
2022-04-07 23:12:44 +02:00
Marius Bakke
e9473ed49b
gnu: LLVM, Clang: Add 14.0.0.
* gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-monorepo):
New variables.
(clang-runtime-from-llvm): Make HASH optional; use monorepo when not present.
(clang-from-llvm): Likewise.
(llvm-14, clang-runtime-14, clang-14, clang-toolchain-14, lld-14): New variables.
(llvm-13): Inherit from LLVM-14.
(lld-13): Inherit from LLD-14.
(lld): Turn into alias for LLD-14.
* gnu/packages/patches/clang-14.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zig.scm (zig): Change from LLD to LLD-13.
2022-04-07 23:12:44 +02:00
Marius Bakke
4e4a79601c
gnu: radeontop: Simplify inputs.
* gnu/packages/linux.scm (radeontop)[native-inputs]: Simplify.
2022-04-07 23:12:44 +02:00
Malte Frank Gerdes
b749329888
gnu: Add cura.
* gnu/packages/engineering.scm (cura): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Guillaume Le Vaillant
4926c10476
gnu: Add python-pynest2d.
* gnu/packages/engineering.scm (python-pynest2d): New variable.
2022-04-07 22:32:01 +02:00
Guillaume Le Vaillant
ace3a7ad89
gnu: Add libnest2d-for-cura.
* gnu/packages/engineering.scm (libnest2d-for-cura): New variable.
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes
21594c06b1
gnu: Add libsavitar.
* gnu/packages/engineering.scm (libsavitar): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes
79b50d5d5b
gnu: Add libcharon.
* gnu/packages/engineering.scm (libcharon): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes
f14d43b367
gnu: Add uranium.
* gnu/packages/engineering.scm (uranium): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes
b4b93035c1
gnu: Add python-trimesh.
* gnu/packages/python-science.scm (python-trimesh): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 18:35:38 +02:00
Malte Frank Gerdes
504dd8b696
gnu: Add python-pyinstrument.
* gnu/packages/python-check.scm (python-pyinstrument): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 18:35:38 +02:00
Malte Frank Gerdes
8d2493dda1
gnu: Add cura-binary-data.
* gnu/packages/engineering.scm (cura-binary-data): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 15:54:02 +02:00
Malte Frank Gerdes
742a7d897f
gnu: Add cura-engine.
* gnu/packages/engineering.scm (cura-engine): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 15:41:18 +02:00
Malte Frank Gerdes
390d68c956
gnu: Add libarcus.
* gnu/packages/engineering.scm (libarcus): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 15:30:49 +02:00
André A. Gomes
7409f246e2
gnu: cl-slynk: Update to 1.0.43-6.4513c38.
* gnu/packages/lisp-xyz.scm (sbcl-slynk): Update to 1.0.43-6.4513c38.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 13:38:00 +02:00
André A. Gomes
68d7471cbd
gnu: emacs-sly: Update to 1.0.43-6.4513c38.
* gnu/packages/emacs-xyz.scm (emacs-sly): Update to 1.0.43-6.4513c38.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 13:34:45 +02:00
Peter Polidoro
90b5353132
gnu: kicad: Update to 6.0.4.
* gnu/packages/engineering.scm (kicad, kicad-doc, kicad-symbols,
  kicad-footprints, kicad-packages3d, kicad-templates): Update to 6.0.4.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 11:11:14 +02:00
jgart
b94b334cb7
gnu: cl-sxql: Update to 0.1.0-3.cc3478c.
* gnu/packages/lisp-xyz.scm (sbcl-sxql): Update to 0.1.0-3.cc3478c and use
  revision variable in let block.
  [inputs]: Add missing sbcl-trivia input.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 10:23:15 +02:00
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