Commit graph

61727 commits

Author SHA1 Message Date
Mathieu Othacehe ea5d9bf991
system: install: Add default libcs to gc-roots.
During the installation, it may be needed to build locales that are not
covered by glibc-utf8-locales. Make sure that the libraries required to build
locales are available.

This is a follow-up of 0eed771275.

* gnu/system/install.scm (installation-os)[services]: Add
%default-locale-libcs to gc-root-service-type.
2020-06-08 10:52:53 +02:00
Tobias Geerinckx-Rice d1fe14be6a
gnu: rtl8821ce-linux-module: Use MAKE-FLAGS.
* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]: Use
MAKE-FLAGS keyword.  Make CC environment variable a make flag.
2020-06-08 10:36:50 +02:00
Tobias Geerinckx-Rice de728cb859
gnu: rtl8812au-aircrack-ng-linux-module: Use MAKE-FLAGS.
* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module)
[arguments]: Use MAKE-FLAGS keyword.
2020-06-08 10:36:50 +02:00
Tobias Geerinckx-Rice 44adf883f0
gnu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-1.df2b8df.
* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module):
Update to 5.6.4.2-1.df2b8df.
2020-06-08 10:36:50 +02:00
Tobias Geerinckx-Rice b2a9d15253
gnu: mu: Update to 1.4.9.
* gnu/packages/mail.scm (mu): Update to 1.4.9.
2020-06-08 10:36:50 +02:00
Tobias Geerinckx-Rice ecb6581276
gnu: v4l2loopback-linux-module: Edit synopsis and description.
* gnu/packages/linux.scm (v4l2loopback-linux-module)
[synopsis, description]: Edit.
2020-06-08 10:36:49 +02:00
Tobias Geerinckx-Rice fdcd193744
gnu: v4l2loopback-linux-module: Disable ‘test’.
It simply built the test programme but nothing more.

* gnu/packages/linux.scm (v4l2loopback-linux-module)[arguments]:
Remove the ‘check’ phase.
2020-06-08 10:36:49 +02:00
Morgan Smith 1acf4c59f8
gnu: Add v4l2loopback-linux-module.
* gnu/packages/linux.scm (v4l2loopback-linux-module): New variable.
2020-06-08 10:12:51 +02:00
Mark H Weaver fa122ac4ca
gnu: linux-libre: Update to 5.4.45.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.45.
(linux-libre-5.4-pristine-source): Update hash.
2020-06-08 00:35:52 -04:00
Mark H Weaver ec29dc0713
gnu: linux-libre@5.6: Update to 5.6.17.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.17.
(linux-libre-5.6-pristine-source): Update hash.
2020-06-08 00:35:15 -04:00
Mark H Weaver cc57925664
gnu: linux-libre@4.19: Update to 4.19.127.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.127.
(linux-libre-4.19-pristine-source): Update hash.
2020-06-08 00:34:20 -04:00
Ludovic Courtès e782756080
git-authenticate: Prevent removal of '.guix-authorizations'.
* guix/git-authenticate.scm (commit-authorized-keys)
[parents-have-authorizations-file?, assert-parents-lack-authorizations]:
New procedures.
Use the latter before returning DEFAULT-AUTHORIZATIONS.
* guix/git.scm (false-if-git-not-found): Export.
* guix/tests/git.scm (populate-git-repository): Add 'remove' clause.
* tests/git-authenticate.scm ("signed commits, .guix-authorizations removed"):
New test.
2020-06-07 23:10:46 +02:00
Ludovic Courtès 1fd7de45f2
git: 'update-cached-checkout' gracefully handles missing starting commit.
Fixes <https://bugs.gnu.org/41604>
Reported by John Soo <jsoo1@asu.edu> and zimoun <zimon.toutoune@gmail.com>.

* guix/git.scm (false-if-git-not-found): New macro.
(reference-available?): Use it.
(update-cached-checkout): Use it when looking up STARTING-COMMIT.
Set RELATION to 'unrelated when OLD is #false.
2020-06-07 23:10:46 +02:00
Jakub Kądziołka 715f589ea3
gnu: go-github-com-stretchr-testify: Update to 1.5.1.
* gnu/packages/golang.scm (go-github-com-stretchr-testify):
  Update to 1.5.1.
2020-06-07 22:10:32 +02:00
Jakub Kądziołka 388ffbfbfe
gnu: go-github-com-davecgh-go-spew: Update to 1.1.1.
* gnu/packages/golang.scm (go-github-com-davecgh-go-spew):
  Update to 1.1.1.
2020-06-07 22:10:32 +02:00
Jakub Kądziołka 0601fb29fb
gnu: Add go-github-com-stretchr-objx.
* gnu/packages/golang.scm (go-github-com-stretchr-objx): New variable.
2020-06-07 22:10:31 +02:00
Efraim Flashner fae75ff991
gnu: Add epour.
* gnu/packages/enlightenment.scm (epour): New variable.
2020-06-07 22:27:40 +03:00
Efraim Flashner 9b5e7d01af
gnu: Add vim-dispatch.
* gnu/packages/vim.scm (vim-dispatch): New variable.
2020-06-07 22:27:36 +03:00
Fredrik Salomonsson a6e2c477c5
gnu: emacs-lua-mode: Update to 20200508-0.35b6e4c.
* gnu/packages/emacs-xyz.scm (emacs-lua-mode): Update to 20200508-0.35b6e4c.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-06-07 21:24:47 +02:00
Fredrik Salomonsson 2d0cd1cab1
gnu: Add emacs-flymake-shellcheck.
* gnu/packages/emacs-xyz.scm (emacs-flymake-shellcheck): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-06-07 21:15:02 +02:00
Tobias Geerinckx-Rice c6f557636a
gnu: docker, docker-cli: Update to 19.03.11.
* gnu/packages/docker.scm (%docker-version): Update to 19.03.11.
(docker, docker-cli): Update hashes.
2020-06-07 18:43:38 +02:00
Tobias Geerinckx-Rice d8a85f8200
gnu: qwt: Update to 6.1.5.
* gnu/packages/qt.scm (qwt): Update to 6.1.5.
2020-06-07 18:43:38 +02:00
Tobias Geerinckx-Rice 1fc6f1def9
gnu: python-mwclient: Update to 0.10.1.
* gnu/packages/python-xyz.scm (python-mwclient): Update to 0.10.1.
2020-06-07 18:43:38 +02:00
Tobias Geerinckx-Rice 7907e7f237
gnu: libgit2: Update to 1.0.1.
* gnu/packages/version-control.scm (libgit2): Update to 1.0.1.
2020-06-07 18:43:38 +02:00
Tobias Geerinckx-Rice 41c68b6a68
gnu: s6-portable-utils: Update to 2.2.2.3.
* gnu/packages/skarnet.scm (s6-portable-utils): Update to 2.2.2.3.
2020-06-07 18:43:38 +02:00
Tobias Geerinckx-Rice ce4b77cc2d
gnu: wireguard-linux-compat: Update to 1.0.20200520.
* gnu/packages/vpn.scm (wireguard-linux-compat): Update to 1.0.20200520.
2020-06-07 18:43:37 +02:00
Ryan Prior 8d7efc7a95
gnu: Add vala-language-server.
* gnu/packages/gnome-xyz.scm (vala-language-server): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-06-07 18:17:34 +03:00
Ryan Prior 2dcaa7601f
gnu: Add vala-0.48.
* gnu/packages/gnome.scm (vala-0.48): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-06-07 17:42:13 +03:00
Oleg Pykhalov dfb3f2bad8
gnu: youtube-dl: Update to 2020.06.06.
* gnu/packages/video.scm (youtube-dl): Update to 2020.06.06.
2020-06-07 16:23:29 +03:00
Pierre Neidhardt cc9d63f370
gnu: emacs-lispyville: Update to 20200605.
* gnu/packages/emacs-xyz.scm (emacs-lispyville): Update to 20200605.
[arguments]: Remove obsolete workaround for tests.
2020-06-07 11:22:23 +02:00
Katherine Cox-Buday 64174aff92
gnu: Add cl-rdkafka.
* gnu/packages/lisp-xyz.scm (sbcl-cl-rdkafka, cl-rdkafka): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-06-07 11:05:04 +02:00
Guillaume Le Vaillant 5dc04da4df
gnu: sbcl-cl-random-forest: Remove obsolete fix.
* gnu/packages/machine-learning.scm (sbcl-cl-random-forest)[arguments]: Remove
  'add-sb-cltl2-dependency' phase.
2020-06-07 10:46:58 +02:00
Katherine Cox-Buday 388a89750e
gnu: sbcl-lparallel: Modify system definition to require sb-cltl2.
* gnu/packages/lisp-xyz.scm (sbcl-lparallel)[arguments]: Add 'fix-dependency'
  phase to modify system definition to require sb-cltl2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-06-07 10:32:22 +02:00
Efraim Flashner f9d4073612
gnu: streamlink: Update to 1.4.1.
* gnu/packages/video.scm (streamlink): Update to 1.4.1.
2020-06-07 09:16:32 +03:00
Maxim Cournoyer 99d27a1353
gnu: emacs-realgud: Fix realgud:run-process problem.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[phases]
{fix-realgud:run-process-void-error}: New phase.
{fix-autogen-script}: Return #t.
{autogen}: Likewise.
{set-home}: Likewise.
{remove-realgud-pkg.el}: Likewise.
2020-06-07 00:23:13 -04:00
Chris Marusich ecbde6505c
gnu: guix: Update to d445c30ea6.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-7.d445c30.
2020-06-06 17:56:54 -07:00
Chris Marusich d445c30ea6
daemon: Handle EXDEV when moving to trash directory.
Fixes <https://bugs.gnu.org/41607>.
Reported by Stephen Scheck <singularsyntax@gmail.com>.

* nix/libstore/gc.cc (LocalStore::deletePathRecursive): When we try to
move a dead directory into the trashDir using rename(2) but it returns
an EXDEV error, just delete the directory instead.  This can happen in a
Docker container when the directory is not on the "top layer".
2020-06-06 15:43:35 -07:00
Ludovic Courtès c39693d760
ui: 'display-search-results' automatically invokes the pager.
* guix/ui.scm (call-with-paginated-output-port): New procedure.
(with-paginated-output-port): New macro.
(display-search-results): Use it instead of displaying a hint.
2020-06-06 23:28:49 +02:00
Ludovic Courtès d67a881966
utils: Add 'with-environment-variables'.
* guix/tests/gnupg.scm (call-with-environment-variables)
(with-environment-variables): Move to...
* guix/utils.scm: ... here.
* guix/tests/git.scm: Adjust accordingly.
2020-06-06 23:28:49 +02:00
Ludovic Courtès b2ee53d5ae
gnu: guile-static: Disable JIT on ARMv7.
* gnu/packages/make-bootstrap.scm (make-guile-static): Pass
"--disable-jit" when 'target-arm32?' is true.
2020-06-06 23:28:49 +02:00
Ludovic Courtès e768e4e97f
vm: Shared-store script runs the native QEMU and Bash.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Use #+ for
QEMU and BASH.
2020-06-06 23:28:49 +02:00
Ludovic Courtès 60f759f06d
vm: <virtual-machine> compiler honors system and target.
* gnu/system/vm.scm (system-qemu-image/shared-store): Add #:system
and #:target.  Pass it down.
(system-qemu-image/shared-store-script): Likewise.
(virtual-machine-compiler): Likewise.
2020-06-06 23:28:49 +02:00
Ludovic Courtès 52c1b90a5a
vm: 'qemu-image' preserves the cross-compilation target of the OS.
* gnu/system/vm.scm (qemu-image)[preserve-target, inputs*]: New variables.
In gexp, use INPUTS* instead of INPUTS.  Wrap OS and BOOTCFG-DRV in
'preserve-target'.  Pass INPUTS* instead of INPUTS as the #:references-graphs.
2020-06-06 23:28:49 +02:00
Ludovic Courtès 96cb3f8a29
vm: 'qemu-image' uses the native partitioning tools and bootloader.
* gnu/system/vm.scm (qemu-image): Use #+ for Parted, the bootloader, etc.
2020-06-06 23:28:49 +02:00
Ludovic Courtès b347723445
vm: 'expression->derivation-in-linux-vm' always returns a native build.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Remove #:target.
[builder]: Use #+.  Don't pass #:target-arm32? and #:target-aarch64? to
'load-in-linux-vm'.
Pass #:target #f to 'gexp->derivation'.
(qemu-image): Adjust accordingly.
* gnu/build/vm.scm (load-in-linux-vm): Remove #:target-aarch64?
and #:target-arm32?.  Define them as local variables.
2020-06-06 23:28:49 +02:00
Ludovic Courtès 0c053a3973
system: 'system-linux-image-file-name' takes an optional parameter.
* gnu/system.scm (system-linux-image-file-name): Make 'target' an
optional parameter.
2020-06-06 23:28:49 +02:00
Ludovic Courtès b49caaa2b7
packages: Make 'bag-grafts' insensitive to '%current-target-system'.
Fixes <https://bugs.gnu.org/41713>.
Reported by Mathieu Othacehe.

* guix/packages.scm (bag-grafts): Wrap 'fold-bag-dependencies' calls in
'parameterize'.
* tests/packages.scm ("package->bag, sensitivity to
%current-target-system"): New test.
2020-06-06 23:28:48 +02:00
Ludovic Courtès 58bb833365
grafts: Improve performance for derivations with many inputs.
Partly fixes <https://bugs.gnu.org/41702>.
Reported by Lars-Dominik Braun <ldb@leibniz-psychology.org>.

Previously we'd potentially traverse the same sub-graph of DEPS several
times.

With this patch, command:

  guix environment --ad-hoc r-learnr --search-paths

goes from 11.3s to 4.6s.

* guix/grafts.scm (reference-origin): Rename to...
(reference-origins): ... this.  Change 'item' parameter to 'items'.
[lookup-derivers]: New procedure.
(cumulative-grafts)[dependency-grafts]: Change 'item' to 'items' and use
'reference-origins'.
Remove 'mapm' around 'dependency-grafts' call.
2020-06-06 23:28:48 +02:00
Tobias Geerinckx-Rice 22fdca91a9
gnu: libqmi: Update to 1.24.14.
* gnu/packages/freedesktop.scm (libqmi): Update to 1.24.14.
2020-06-06 22:15:08 +02:00
Tobias Geerinckx-Rice 58eea2eb26
gnu: klavaro: Update to 3.10.
* gnu/packages/education.scm (klavaro): Update to 3.10.
2020-06-06 22:15:08 +02:00