Commit graph

61766 commits

Author SHA1 Message Date
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
Tobias Geerinckx-Rice
6aa25ab3b3
gnu: burp: Update to 2.3.28.
* gnu/packages/backup.scm (burp): Update to 2.3.28.
2020-06-06 22:15:08 +02:00
Tobias Geerinckx-Rice
aba98be540
gnu: di: Cross-compile.
* gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET.
2020-06-06 22:15:08 +02:00
Tobias Geerinckx-Rice
cfec1af96a
gnu: di: Update to 4.48.
* gnu/packages/admin.scm (di): Update to 4.48.
2020-06-06 22:15:07 +02:00
Marius Bakke
b69ca4d234
gnu: Add kpeoplevcard.
* gnu/packages/kde-pim.scm (kpeoplevcard): New public variable.
2020-06-06 21:14:17 +02:00
Marius Bakke
9c0fd3d34c
gnu: KContacts: Propagate required inputs.
* gnu/packages/kde-frameworks.scm (kcontacts)[inputs]: Move KCODECS,
KCOREADDONS, KCONFIG, and KI18N ...
[propagated-inputs]: ... here.  New field.
2020-06-06 21:14:17 +02:00
Marius Bakke
32a4c032be
gnu: kdevelop: Update to 5.5.2.
* gnu/packages/kde.scm (kdevelop): Update to 5.5.2.
2020-06-06 21:14:17 +02:00
Marius Bakke
6ecdb8dc5e
gnu: akonadi-search: Enable tests.
* gnu/packages/kde-pim.scm (akonadi-search)[native-inputs]: Add DBUS.
[arguments]: Add #:phases.
2020-06-06 21:14:17 +02:00
Marius Bakke
75c5d360d9
gnu: grantlee: Correct license.
* gnu/packages/qt.scm (grantlee)[license]: Set to LGPL2.1+.
2020-06-06 21:14:17 +02:00
Efraim Flashner
50580fd44d
gnu: rust-rpassword-4: Update to 4.0.5.
* gnu/packages/crates-io.scm (rust-rpassword-4): Update to 4.0.5.
2020-06-06 21:13:32 +03:00
Nicolas Goaziou
a2ebb515db
gnu: emacs-with-editor: Update to 2.9.2.
* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 2.9.2.
2020-06-06 20:03:10 +02:00
Nicolas Goaziou
8ad05ef697
gnu: emacs-nhexl-mode: Update to 1.5.
* gnu/packages/emacs-xyz.scm (emacs-nhexl-mode): Update to 1.5.
[description]: Remove trailing newline character.
2020-06-06 16:21:26 +02:00