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
Nicolas Goaziou
ba209becc6
gnu: emacs-mmm-mode: Update to 0.5.8.
...
* gnu/packages/emacs-xyz.scm (emacs-mmm-mode): Update to 0.5.8.
[source]: Use GNU ELPA repository instead of GitHub.
[build-system]: Switch to emacs-build-system.
[native-inputs]: Remove.
2020-06-06 16:17:04 +02:00
Nicolas Goaziou
49b4a062f9
gnu: emacs-zones: Update to 2019.7.13.
...
* gnu/packages/emacs-xyz.scm (emacs-zones): Update to 2019.7.13.
[source]: Use GNU ELPA repository instead of GitHub. Remove unnecessary
patch.
* gnu/packages/patches/emacs-zones-called-interactively.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Apply file deletion.
2020-06-06 16:07:14 +02:00
Nicolas Goaziou
36b5cfdf02
gnu: emacs-howm: Update to 1.4.6.
...
* gnu/packages/emacs-xyz.scm (emacs-howm): Update to 1.4.6.
2020-06-06 15:59:04 +02:00
Nicolas Goaziou
7239b05494
gnu: emacs-frog-menu: Update to 0.2.11.
...
* gnu/packages/emacs-xyz.scm (emacs-frog-menu): Update to 0.2.11.
[source]: Use GNU ELPA repository instead of GitHub.
2020-06-06 15:54:51 +02:00
Nicolas Goaziou
c125119204
gnu: emacs-ebdb: Update to 0.6.18.
...
* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.6.18.
[source]: Use GNU ELPA repository instead of GitHub.
2020-06-06 15:47:57 +02:00
Marius Bakke
8951b9496b
gnu: GnuTLS: Update replacement to 3.6.14 [fixes CVE-2020-13777].
...
* gnu/packages/tls.scm (gnutls-3.6.13): Rename to ...
(gnutls-3.6.14): ... this. Update to 3.6.14.
(gnutls)[replacement]: Adjust accordingly.
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Likewise.
* gnu/packages/vpn.scm (openconnect)[propagated-inputs]: Likewise.
2020-06-06 15:35:41 +02:00
Marius Bakke
fa7bd13e5b
gnu: rcas-web: Use guile2.2 version of Guile-Redis.
...
* gnu/packages/bioinformatics.scm (rcas-web)[inputs]: Change from GUILE-REDIS
to GUILE2.2-REDIS. While at it, rename the GUILE input to "guile" instead
of "guile-next".
2020-06-06 15:35:40 +02:00
Nicolas Goaziou
2a56b2cf86
gnu: emacs-exwm: Update to 0.24.
...
* gnu/packages/emacs-xyz.scm (emacs-exwm): Update to 0.24.
2020-06-06 15:29:02 +02:00
Tobias Geerinckx-Rice
5c5bd76f31
gnu: openconnect: Add a comment about the gnutls version.
...
* gnu/packages/vpn.scm (openconnect): Add said comment.
* gnu/packages/tls.scm (gnutls): Add backlink to optimise SEO.
2020-06-06 15:24:26 +02:00
Nicolas Goaziou
0bcf20e949
gnu: emacs-web-server: Update to 0.1.2.
...
* gnu/packages/emacs-xyz.scm (emacs-web-server): Update to 0.1.2.
[source]: Use GNU ELPA repository instead of GitHub.
[native-inputs]: Remove unnecessary native inputs.
[arguments]: Do not run tests, which do not exist in ELPA.
2020-06-06 15:23:10 +02:00
Steve Sprang
c08a784c58
gnu: openscad: Add patch to fix build.
...
* gnu/packages/patches/openscad-parser-boost-1.72.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/engineering.scm (openscad)[source]: Use it.
2020-06-06 15:20:02 +02:00
Nicolas Goaziou
b68bf28c8f
gnu: emacs-rainbow-mode: Update to 1.0.4.
...
* gnu/packages/emacs-xyz.scm (emacs-rainbow-mode): Update to 1.0.4.
2020-06-06 15:17:22 +02:00
Nicolas Goaziou
678248f5ea
gnu: emacs-stream: Update to 2.2.5.
...
* gnu/packages/emacs-xyz.scm (emacs-stream): Update to 2.2.5. [source]: Use
GNU ELPA repository instead of GitHub.
[arguments]: Skip tests, which do not exist on ELPA.
2020-06-06 15:14:25 +02:00
Nicolas Goaziou
7b32e7bfaf
gnu: emacs-posframe: Update to 0.7.0.
...
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 0.7.0.
[source]: Use GNU Elpa repository instead of GitHub.
2020-06-06 15:10:45 +02:00
Nicolas Goaziou
dc81932ee5
gnu: emacs-highlight-escape-sequences: Fix version number.
...
* gnu/packages/emacs-xyz.scm (emacs-highlight-escape-sequences): Extract
appropriate version number from main file.
2020-06-06 15:06:19 +02:00
Nicolas Goaziou
8312d6f0bc
gnu: emacs-multi-term: Update to 1.5.0.017c77c.
...
* gnu/packages/emacs-xyz.scm (emacs-multi-term): Update to 1.5.0.017c77c.
2020-06-06 15:00:15 +02:00
Nicolas Goaziou
a531168f5d
gnu: emacs-edit-server: Update to 1.15.
...
* gnu/packages/emacs-xyz.scm (emacs-edit-server): Update to 1.15.
2020-06-06 14:53:38 +02:00
Guillaume Le Vaillant
d7c606818b
gnu: Add cl-ascii-table.
...
* gnu/packages/lisp-xyz.scm (sbcl-cl-ascii-table, cl-ascii-table,
ecl-cl-ascii-table): New variables.
2020-06-06 14:16:30 +02:00
Nicolas Goaziou
0e96514e7b
gnu: emacs-haskell-mode: Update to 17.1.
...
* gnu/packages/emacs-xyz.scm (emacs-haskell-mode): Update to 17.1.
[arguments]: Add phase to skip failing tests.
* gnu/packages/patches/haskell-mode-make-check.patch:
* gnu/packages/patches/haskell-mode-unused-variables.patch: Delete files.
* gnu/local.mk: Apply files removal.
2020-06-06 13:44:05 +02:00
Nicolas Goaziou
ae08e0f963
gnu: emacs-jsonrpc: Update to 1.0.12.
...
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc): Update to 1.0.12.
2020-06-06 13:23:54 +02:00
Nicolas Goaziou
73a148f325
gnu: emacs-ghub: Update to 3.3.0.
...
* gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 3.3.0.
2020-06-06 13:22:51 +02:00
Nicolas Goaziou
3c47d838fa
gnu: emacs-oauth2: Update to 0.13.
...
* gnu/packages/emacs-xyz.scm (emacs-oauth2): Update to 0.13.
2020-06-06 13:19:01 +02:00
Nicolas Goaziou
bed1d64ca4
gnu: emacs-darkroom: Update to 0.3.
...
* gnu/packages/emacs-xyz.scm (emacs-darkroom): Update to 0.3.
2020-06-06 13:17:43 +02:00
Nicolas Goaziou
90eb9381cb
gnu: emacs-cider: Update to 0.25.0.
...
* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 0.25.0.
[propagated-inputs]: Reorder entries. Remove emacs-seq, built-in.
2020-06-06 13:15:52 +02:00
Nicolas Goaziou
c160e5571c
gnu: emacs-beginend: Update to 2.1.0.
...
* gnu/packages/emacs-xyz.scm (emacs-beginend): Update to 2.1.0.
2020-06-06 13:14:05 +02:00