Commit Graph

74521 Commits

Author SHA1 Message Date
Ludovic Courtès 7e9d9f28e9
syscalls: Add 'mounts' and the <mount> record type.
* guix/build/syscalls.scm (<mount>): New record type.
(option-string->mount-flags, mount-flags)
(octal-decode, mounts): New procedures.
(mount-points): Rewrite in terms of 'mount'.
* tests/syscalls.scm ("mounts"): New test.
2021-02-25 11:29:35 +01:00
Ludovic Courtès 46bb1a41ae
syscalls: Define MS_RELATIME.
* guix/build/syscalls.scm (MS_RELATIME): New variable.
2021-02-25 11:29:35 +01:00
Ludovic Courtès 2b0026813b
tests: docker-system: Increase VM memory.
* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase
'memory-size'.
2021-02-25 11:29:35 +01:00
Ludovic Courtès 60fd4118f7
system: vm: Use Guile 3.0 in Docker images.
* gnu/system/vm.scm (system-docker-image): Use GUILE-3.0.
2021-02-25 11:29:35 +01:00
Ludovic Courtès 412e4f081e
services: shepherd: Make /run/booted-system a symlink to the store item.
Fixes <https://bugs.gnu.org/46767>.

Previously /run/booted-system would end up referring to
/var/guix/profiles/system-NNN-link; consequently, the booted system
would not be GC-protected.

* gnu/services/shepherd.scm (shepherd-boot-gexp): Call
'canonicalize-path' instead of 'readlink'.
2021-02-25 11:29:35 +01:00
Ludovic Courtès 120051e1b9
machine: ssh: Use 'formatted-message'.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Use
'formatted-message' instead of 'format' + '&message'.
2021-02-25 11:29:35 +01:00
Mathieu Othacehe 73303067c7
gnu: guile-simple-zmq: Update to 0.0.0-8.e944617.
* gnu/packages/guile-xyz.scm (guile-simple-zmq): Update to 0.0.0-8.e944617.
[build-system]: Switch to gnu-build-system.
[arguments]: Remove the set-libzmq-file-name phase.
[inputs]: Add autoconf, automake and pkg-config.
2021-02-25 11:28:29 +01:00
qblade c1da9829f8
gnu: Add python-esptool.
* gnu/packages/engineering.scm (python-esptool-3.0): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-25 10:44:05 +01:00
Gurjeet Singh 801932f4db
doc: Fix typo.
* doc/guix.texi (Reduced Binary Seed Bootstrap): Fix typo.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-25 10:36:04 +01:00
Joseph LaFreniere 510b2f8447
gnu: Add emacs-keystore-mode.
* gnu/packages/emacs-xyz.scm (emacs-keystore-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-25 10:28:04 +01:00
Joseph LaFreniere a85752cba2
gnu: Add emacs-ecukes.
* gnu/packages/emacs-xyz.scm (emacs-ecukes): New variable.
2021-02-25 10:28:04 +01:00
Mathieu Othacehe 4dfce0115f
describe: Make sure package-channels always returns a list.
* guix/describe.scm (package-channels): Return an empty list if the file
origin could not be determined.
2021-02-25 10:24:11 +01:00
Mathieu Othacehe b6c7e5af02
describe: Add missing include.
This is a follow-up of 17fbd5a5c9.

* guix/describe.scm: Add "channel-name" to (guix channels) autoload.
2021-02-25 10:19:32 +01:00
Mathieu Othacehe 17fbd5a5c9
describe: Add package-channels.
* guix/describe.scm (package-channels): New procedure.
(package-provenance): Rewrite using package-channels procedure.
2021-02-25 10:11:25 +01:00
Aurora 3fef3cb8d2
gnu: Add cl-irc.
* gnu/packages/lisp-xyz.scm (cl-irc, ecl-cl-irc, sbcl-cl-irc): New variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-02-25 09:30:05 +01:00
Leo Famulari 4815f8162f
gnu: Open vSwitch: Update to 2.13.3 [fixes CVE-2020-35498].
* gnu/packages/networking.scm (openvswitch): Update to 2.13.3.
2021-02-24 18:49:17 -05:00
Zheng Junjie fc03a1a3d7
gnu: Add chili-sddm-theme.
* gnu/packages/display-managers.scm (chili-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-02-25 00:12:03 +01:00
lasnesne 532406088a
gnu: solaar: Add missing dependencies for the GUI.
* gnu/packages/admin.scm (solaar)[propagated-inputs]: Add PYTHON-PYYAML,
PYTHON-PSUTIL, PYTHON-XLIB, GTK+, and PYTHON-PYGOBJECT.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-02-25 00:01:58 +01:00
zimoun e68ae7f00e
guix: scripts: Fix corner cases of hint for option typo.
* guix/scripts.scm (option-hint): Fix corner cases.
(parse-command-line)[parse-options-from]: Remove 'string?' check
introduced in 11f11d7ecb.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-02-24 23:50:13 +01:00
Ludovic Courtès ee3226e9d5
substitute: Ensure backtraces go to file descriptor 4.
Fixes <https://bugs.gnu.org/46362>.
Reported by Zhu Zihao <all_but_last@163.com>.

Previously, backtraces due to uncaught exceptions would always to go
file descriptor 2; the daemon would read it and error out with something
like:

  error: got unexpected path `Backtrace:' from substituter

This patch fixes that by ensuring backtraces are properly displayed on
file descriptor 4.

* guix/scripts/substitute.scm (with-redirected-error-port): New macro.
(guix-substitute): Use 'with-redirected-error-port' instead of 'parameterize'.
2021-02-24 23:44:10 +01:00
Ludovic Courtès e2572aa950
substitute: Do not unwind stack traces upon uncaught exceptions.
This is similar to commit a168c3e4f8.

* guix/scripts/substitute.scm (with-networking): Use
'with-throw-handler' instead of 'catch'.
2021-02-24 23:44:10 +01:00
Ludovic Courtès b288d0e749
ui: Bug-report URL in '--help' can be translated.
* guix/ui.scm (show-bug-report-information): Add "/en" to the help URL
and pass it to 'G_'.
2021-02-24 23:44:10 +01:00
Efraim Flashner 570c9c97bf
gnu: luajit-lua52-openresty: Use a source file-name.
* gnu/packages/lua.scm (luajit-lua52-openresty)[source]: Add file-name
field.
2021-02-24 21:29:16 +02:00
Nicolas Goaziou f3eecfd36c
gnu: mame: Update to 0.229.
* gnu/packages/emulators.scm (mame): Update to 0.229.
2021-02-24 19:07:10 +01:00
Léo Le Bouter 6bea71afac
Revert "gnu: Add ghc-protolude-0.2."
This reverts commit 9ef7937766.
2021-02-24 17:55:35 +01:00
Léo Le Bouter d1d8b52da3
Revert "gnu: purescript: Move to version-specific ghc-protolude-0.2 input."
This reverts commit 59c3ea2254.
2021-02-24 17:55:35 +01:00
Léo Le Bouter 325098de34
Revert "gnu: ghc-protolude: Update to 0.3.0."
This reverts commit a281a67f3c.
2021-02-24 17:55:35 +01:00
Léo Le Bouter aa2392a0cf
gnu: greenclip: Move to version-specific ghc-protolude-0.3 input.
* gnu/packages/haskell-apps.scm (greenclip)[inputs]: Replace ghc-protolude
with ghc-protolude-0.3.
2021-02-24 17:55:35 +01:00
Léo Le Bouter d4d40fa683
gnu: Add ghc-protolude-0.3.
* gnu/packages/haskell-xyz.scm (ghc-protolude-0.3): New variable.
2021-02-24 17:55:34 +01:00
Andy Tai 2fdc8ca7fd
gnu: Add monado.
* gnu/packages/graphics.scm (monado): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-24 11:42:04 -05:00
Leo Famulari ed27627fbd
gnu: linux-libre 4.4: Update to 4.4.258.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.258.
(linux-libre-4.4-pristine-source): Update hash.
2021-02-24 11:16:18 -05:00
Leo Famulari ae8014d247
gnu: linux-libre 4.9: Update to 4.9.258.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.258.
(linux-libre-4.9-pristine-source): Update hash.
2021-02-24 11:16:17 -05:00
Leo Famulari 9732e905ff
gnu: linux-libre 4.14: Update to 4.14.222.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.222.
(linux-libre-4.14-pristine-source): Update hash.
2021-02-24 11:16:17 -05:00
Leo Famulari 4093084163
gnu: linux-libre 4.19: Update to 4.19.177.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.177.
(linux-libre-4.19-pristine-source): Update hash.
(deblob-scripts-4.19): Use linux-libre-4.19-version.
2021-02-24 11:16:17 -05:00
Leo Famulari 6ecaf53885
gnu: linux-libre 5.4: Update to 5.4.100.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.100.
(linux-libre-5.4-pristine-source): Update hash.
2021-02-24 11:16:17 -05:00
Leo Famulari 9099734300
gnu: linux-libre 5.11: Update to 5.11.1.
* gnu/packages/linux.scm (linux-libre-5.11-version): Update to 5.11.1.
(linux-libre-5.11-pristine-source): Update hash.
2021-02-24 11:16:17 -05:00
Leo Famulari 52f3919f8e
gnu: linux-libre: Update to 5.10.18.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.18.
(linux-libre-5.10-pristine-source): Update hash.
2021-02-24 11:16:16 -05:00
Kyle Meyer 4354e2ed2b
gnu: git-annex: Update to 8.20210223.
* gnu/packages/haskell-apps.scm (git-annex): Update to 8.20210223.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-24 11:07:39 -05:00
Andy Tai 02e0aa2559
gnu: Add ocrfeeder.
* gnu/packages/gnome.scm (ocrfeeder): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-24 11:07:36 -05:00
Xinglu Chen 7cb188f8b2
gnu: notmuch: Update to 0.31.4.
* gnu/packages/mail.scm (notmuch): Update to 0.31.4.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-24 17:00:14 +01:00
Vinícius dos Santos Oliveira b35bbb26a2
gnu: Add luajit-lua52-openresty.
* gnu/packages/lua.scm (luajit-lua52-openresty): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-24 16:47:44 +01:00
Mathieu Othacehe b5586c666e
gnu: http-server: Fix build on i686-linux.
* gnu/packages/patches/http-parser-fix-assertion-on-armhf.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Update it.
* gnu/packages/web.scm (http-parser)[source]: Remove a test assertion failing
on i686-linux.
[arguments]: Remove the "assertion.patch" that is merged upstream.
[native-inputs]: Ditto.
[synopsis]: Wrap it.
2021-02-24 16:36:12 +01:00
Tobias Geerinckx-Rice 376329526b
gnu: nano: Update to 5.6.
* gnu/packages/nano.scm (nano): Update to 5.6.
2021-02-24 16:18:06 +01:00
Ricardo Wurmus a4cc03a80f
gnu: Add tmsu.
* gnu/packages/file-systems.scm (tmsu): New variable.
2021-02-24 15:49:47 +01:00
Ricardo Wurmus 4be3c3df01
gnu: Add go-github-com-hanwen-fuse.
* gnu/packages/file-systems.scm (go-github-com-hanwen-fuse): New variable.
2021-02-24 15:49:47 +01:00
Léo Le Bouter a138681550
gnu: Add greenclip.
* gnu/packages/haskell-apps.scm (greenclip): New variable.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-02-24 15:16:30 +01:00
Stefan Reichör 212e473e80
gnu: Add ghc-wordexp.
* gnu/packages/haskell-xyz.scm (ghc-wordexp): New variable.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-02-24 15:16:07 +01:00
Stefan Reichör a281a67f3c
gnu: ghc-protolude: Update to 0.3.0.
* gnu/packages/haskell-xyz.scm (ghc-protolude): Update to 0.3.0.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-02-24 15:00:06 +01:00
Léo Le Bouter 59c3ea2254
gnu: purescript: Move to version-specific ghc-protolude-0.2 input.
* gnu/packages/purescript.scm (purescript)[inputs]: Replace ghc-protolude with
ghc-protolude-0.2.
2021-02-24 15:00:06 +01:00
Léo Le Bouter 9ef7937766
gnu: Add ghc-protolude-0.2.
* gnu/packages/haskell-xyz.scm (ghc-protolude-0.2): New variable.
2021-02-24 15:00:06 +01:00