Commit Graph

85432 Commits

Author SHA1 Message Date
Marius Bakke 3baa1017eb
gnu: Remove python2-sqlalchemy-utils.
Some of its dependencies no longer support Python 2, so drop it.

* gnu/packages/databases.scm (python2-sqlalchemy-utils): Remove variable.
2021-11-15 00:25:05 +01:00
Thiago Jung Bauermann 12c06847f0
environment: Fix ‘--check’ with exported PS1 variable.
If your .bashrc (unnecessarily) exports PS1 and you’re in a non-login
shell, Guix crashes:

user@popigai:~$ guix shell --check coreutils
guix shell: checking the environment variables visible from shell '/bin/bash'...
Backtrace:
          14 (primitive-load "/home/user/.config/guix/current/bin/g…")
In guix/ui.scm:
   2206:7 13 (run-guix . _)
  2169:10 12 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
  1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   658:37  9 (thunk)
   1320:8  8 (call-with-build-handler _ _)
   1320:8  7 (call-with-build-handler #<procedure 7fe393b7c420 at g…> …)
In guix/status.scm:
    800:4  6 (call-with-status-report _ _)
In guix/scripts/environment.scm:
   951:12  5 (_)
In guix/store.scm:
  2119:24  4 (run-with-store #<store-connection 256.99 7fe39627e500> …)
In guix/scripts/environment.scm:
   521:35  3 (_ _)
In unknown file:
           2 (string=? ("PS1" . "${debian_chroot:+($debian_chroot)…") …)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure string=: Wrong type argument in position 1 (expecting string): ("PS1" . "${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]${EXTRA}\\$ ")
user@popigai:~$

This is because the match pattern doesn’t expect `(vhash-assoc "PS1" actual)`
to return a pair.

* guix/scripts/environment.scm (validate-child-shell-environment): Change
match pattern to expect a pair.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 23:18:08 +01:00
Tanguy Le Carrour 0aeb7b91a8
gnu: alot: Disable hanging test.
* gnu/packages/mail.scm (alot) [#:phases]: Disable hanging test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 23:18:08 +01:00
Ludovic Courtès 4dcec60fa6
home-services: Demonadify 'on-first-login' handling.
* gnu/home/services.scm (compute-on-first-login-script): Use
'computed-file' instead of' gexp->script'.
(on-first-login-script-entry): Expect a regular value rather than a
monadic value and remove 'mlet'.
2021-11-14 23:18:08 +01:00
Andrew Tropin a8b5b40f62
doc: Add a note about elogind and XDG_RUNTIME_DIR for Guix Home.
* doc/guix.texi (Declaring the Home Environment): Add a note about elogind and
XDG_RUNTIME_DIR.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 23:18:08 +01:00
Andrew Tropin 5c2f30d3de
home-services: on-first-login: Check if XDG_RUNTIME_DIR exists.
Fixes <https://issues.guix.gnu.org/50945>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* gnu/home-services.scm (on-first-login): on-first-login won't execute
anything if XDG_RUNTIME_DIR doesn't exists.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 23:18:08 +01:00
Vagrant Cascadian 2ebcc5387b
gnu: u-boot, u-boot-am335x-boneblack, u-boot-novena: Fix lint warnings.
* gnu/packages/bootloaders.scm (u-boot)[description]: Add second space after
  sentence.
  (u-boot-am335x-boneblack)[description]: Likewise.
  (u-boot-novena)[description]: Likewise.
2021-11-14 13:47:51 -08:00
Julien Lepiller e95acc0919
doc: Add example to dist target.
* doc/local.mk (OS_CONFIG_EXAMPLES_TEXI): Add he-config-bare-bones.scm.
2021-11-14 20:35:04 +01:00
Julien Lepiller 97909fd6fd
gnu: python-translate-toolkit: Update to 3.5.1.
* gnu/packages/python-xyz (python-translate-toolkit): Update to 3.5.1.
(python2-translate-toolkit): Keep at previous version.
2021-11-14 20:34:30 +01:00
Florian Pelz f2d345a7b6
doc: Fix guix shell -C example.
The meaning changed by accident when guix environment was replaced
by guix shell in 80edb7df65.

* doc/guix.texi (Debugging Build Failures): Add missing -D option.
2021-11-14 20:08:34 +01:00
Christopher Baines 83289ca255
gnu: guix-build-coordinator: Update to 0-36.87508af.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-36.87508af.
2021-11-14 16:27:30 +00:00
Arun Isaac d29a9aa54b
gnu: Add borgmatic.
* gnu/packages/backup.scm (borgmatic): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-11-14 15:25:16 +01:00
Foo Chuan Wei 686b9403a0
gnu: Add nsxiv.
* gnu/packages/image-viewers.scm (nsxiv): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-11-14 15:20:18 +01:00
jgart via Guix-patches via 1a72b6e999
gnu: Add neatmail.
* gnu/packages/mail.scm (neatmail): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-11-14 15:14:51 +01:00
Efraim Flashner bd1f30047d
gnu: pinentry-tty: Update to 1.2.0.
* gnu/packages/gnupg.scm (pinentry-tty): Update to 1.2.0.
2021-11-14 14:11:59 +02:00
Efraim Flashner fb7424f2f8
gnu: terminology: Update to 1.11.0.
* gnu/packages/enlightenment.scm (terminology): Update to 1.11.0.
2021-11-14 09:17:59 +02:00
Leo Famulari 9aab7bb05f
gnu: linux-libre 4.9: Update to 4.9.292.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.292.
(linux-libre-4.9-pristine-source): Update hash.
2021-11-13 22:44:03 -05:00
Leo Famulari 727b6e0c43
gnu: linux-libre 4.9: Update to 4.9.290.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.290.
(linux-libre-4.9-pristine-source): Update hash.
2021-11-13 22:44:03 -05:00
Leo Famulari 2fdd6fe3fc
gnu: linux-libre 4.14: Update to 4.14.255.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.255.
(linux-libre-4.14-pristine-source): Update hash.
2021-11-13 22:44:03 -05:00
Leo Famulari f6c0ca2f9d
gnu: linux-libre 4.19: Update to 4.19.217.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.217.
(linux-libre-4.19-pristine-source): Update hash.
2021-11-13 22:44:03 -05:00
Leo Famulari af6cc0dc6f
gnu: linux-libre 5.4: Update to 5.4.159.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.159.
(linux-libre-5.4-pristine-source): Update hash.
2021-11-13 22:44:02 -05:00
Leo Famulari d48224da8f
gnu: linux-libre 5.10: Update to 5.10.79.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.79.
(linux-libre-5.10-pristine-source): Update hash.
2021-11-13 22:44:02 -05:00
Leo Famulari efa6a40fa1
gnu: linux-libre: Update to 5.14.18.
* gnu/packages/linux.scm (linux-libre-5.14-version): Update to 5.14.18.
(linux-libre-5.14-pristine-source): Update hash.
2021-11-13 22:43:59 -05:00
Tobias Geerinckx-Rice 7f7f739e23
gnu: mu: Update to 1.6.10.
* gnu/packages/mail.scm (mu): Update to 1.6.10.
2021-11-14 02:45:05 +01:00
Ludovic Courtès 2bb0d8bf0c
gnu: renameutils: Fix license and tweak.
* gnu/packages/shellutils.scm (renameutils)[source]: Use mirror:// URL.
[license]: Change to GPL3+.
[description]: Use @command markup.
2021-11-14 00:29:58 +01:00
Wiktor Żelazny d0313cdf5f
gnu: Add renameutils.
* gnu/packages/shellutils.scm (renameutils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:25:30 +01:00
James Thomas 704bd694d1
gnu: Add purple-lurch.
* gnu/packages/messaging.scm (purple-lurch): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:19:38 +01:00
James Thomas 2a05676873
gnu: Add libomemo.
* gnu/packages/messaging.scm (libomemo): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:18:48 +01:00
James Thomas 8e5df0cea8
gnu: Add axc.
* gnu/packages/messaging.scm (axc): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:18:11 +01:00
Greg Hogan 01eb317b9e
gnu: bear: Update to 3.0.16.
* gnu/packages/build-tools.scm (bear): Update to 3.0.16.
* gnu/packages/patches/bear-disable-preinstall-tests.patch: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:10:58 +01:00
Greg Hogan 459d7cfbc4
gnu: fmt: Update to 8.0.1.
* gnu/packages/pretty-print.scm (fmt): Update to 8.0.1,
(fmt-7): New variable.
* gnu/packages/astronomy.scm (celestia)[inputs],
gnu/packages/kodi.scm (kodi)[inputs],
gnu/packages/lua.scm (emilua)[inputs]: Change to fmt-7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:10:58 +01:00
Greg Hogan 357ecb777e
gnu: waybar: Update to 0.9.8.
* gnu/packages/wm.scm (waybar): Update to 0.9.8.
[inputs]: Add libxml2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:10:58 +01:00
Greg Hogan c899566b2f
gnu: spdlog: Update to 1.9.2.
* gnu/packages/logging.scm (spdlog): Update to 1.9.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-14 00:10:58 +01:00
Ludovic Courtès 114005bea6
tests: Adjust tests/egg.scm to latest API changes.
This is a followup to b999c80c2e.

* tests/egg.scm (eval-test-with-egg-file): Pass 'version' argument to
'egg->guix-package'.
2021-11-14 00:10:58 +01:00
Tobias Geerinckx-Rice e9e1627849
gnu: duplicity: Update to 0.8.21.
* gnu/packages/backup.scm (duplicity): Update to 0.8.21.
[arguments]: Don't explicitly return #t from phases.
2021-11-13 21:53:56 +01:00
jgart 193d7b5b45
guix: packages: Clarify that list is a list of <license> records.
* guix/packages/packages.scm (<package>): Clarify that the license
field takes a list of licenses rather than a generic list.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-13 09:52:19 +01:00
Eric Bavier f116b4764b
gnu: Add Breezy.
* gnu/packages/version-control.scm (breezy): New variable.
2021-11-13 00:29:26 -06:00
Vagrant Cascadian dc05fea1db
gnu: diffoscope: Update to 192.
* gnu/packages/diffoscope.scm (diffoscope): Update to 192.
2021-11-12 15:08:55 -08:00
Morgan Smith 3374894786
gnu: Add rss2email.
* gnu/packages/mail.scm (rss2email): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:58:32 +01:00
Morgan Smith d402340625
gnu: python-feedparser: Add input
* gnu/packages/web.scm (python-feedparser) [propagated-inputs]: Add
python-sgmllib3k

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:56:51 +01:00
Morgan Smith 729936cfa4
gnu: Add python-sgmllib3k.
* gnu/packages/python-xyz.scm (python-sgmllib3k): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:56:50 +01:00
Tom Fitzhenry 18cf347a64
gnu: Add emacs-flymake-flycheck.
* gnu/packages/emacs-xyz.scm (emacs-flymake-flycheck): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:49:13 +01:00
Timotej Lazar f634a0baab
services: Add qemu-guest-agent service.
* gnu/services/virtualization.scm (<qemu-guest-agent-configuration>): New
record.
(qemu-guest-agent-shepherd-service): New procedure.
(qemu-guest-agent-service-type): New variable.
* doc/guix.texi (Virtualization Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:41:44 +01:00
Attila Lendvai 0c21ec1c79
import: utils: Add more licenses and extend their detection.
* guix/import/utils.scm (spdx-string->license): Identify more
licenses (CC-BY-4.0, Freetype, HPND).
* guix/licenses.scm: Add a comment that mentions "MIT" so that people
who grep for MIT end up there.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-12 23:34:18 +01:00
Danny Milosavljevic da73727f1a
gnu: Add texlive-latex-bussproofs.
* gnu/packages/tex.scm (texlive-latex-bussproofs): New variable.
2021-11-12 16:22:35 +01:00
Mathieu Othacehe fb3df20116
build: bootloader: Add GPT support.
* gnu/build/bootloader.scm (install-efi-loader): Add GPT support.
2021-11-12 13:26:52 +00:00
Ryan Sundberg 096a2bf8c5
image: Support generating GPT images via `partition-table-type`.
* gnu/image.scm (<image>)[partition-table-type]: New field.
* gnu/system/image.scm: Implement partition-table-type logic for
genimage.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-11-12 12:06:58 +00:00
Ryan Sundberg 39754503e8
gnu: genimage: Update to 14.
Update genimage from version 11 to 14. A patch is required for the
tests due to differences in ext tooling.

* gnu/local.mk (dist_patch_DATA): Replace patch reference.
* gnu/packages/genimage.scm: Update package source.
* gnu/packages/patches/genimage-mke2fs-test.patch: New patch file.
* gnu/packages/patches/genimage-signedness.patch: Delete obsolete patch.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-11-12 12:02:32 +00:00
Mathieu Othacehe 6e67c701a8
gnu: cuirass: Update to 1.1.0-5.ea09658.
* gnu/packages/ci.scm (cuirass): Update to 1.1.0-5.ea09658.
2021-11-12 10:30:59 +00:00
Mark H Weaver 33a80e1110
gnu: tar: Replace with 1.34 [fixes CVE-2021-20193].
* gnu/packages/base.scm (tar)[replacement]: New field.
(tar-1.34): New variable.
2021-11-12 02:52:46 -05:00