Commit graph

57578 commits

Author SHA1 Message Date
Brice Waegeneire 1a5443e86b
doc: Fix typo in example.
* doc/guix.texi (Invoking guix deploy): Fix example to use '%user'
variable defined above.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-03-23 18:57:01 +01:00
Brice Waegeneire a9f2c210f3
system: Export 'operating-system-kernel-loadable-modules'.
* gnu/system.scm: Export 'operating-system-kernel-loadable-modules'.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-03-23 18:52:31 +01:00
Maxim Cournoyer f2c698bd3e
gnu: emacs-lua-mode: Update to 20191204.
* (emacs-lua-mode): Update to 20191204.
2020-03-23 13:49:39 -04:00
Maxim Cournoyer 09c09c4c7c
gnu: emacs-ert-runner: Update to 0.8.0.
* (emacs-ert-runner): Update to 0.8.0.
2020-03-23 13:49:38 -04:00
Maxim Cournoyer 80168c4b5b
gnu: emacs-dash: Update to 2.17.0.
* (emacs-dash): Update to 2.17.0.
2020-03-23 13:49:38 -04:00
Mathieu Othacehe f9b6f75d1c
installer: Fix cow-store umount issue.
* gnu/installer/final.scm (kill-cow-users): Ignore exception that could be
raised if a process disappears between reading its pid and its maps file.
2020-03-23 18:46:40 +01:00
Tobias Geerinckx-Rice 5490b2c733
gnu: parallel: Update to 20200322.
* gnu/packages/parallel.scm (parallel): Update to 20200322.
2020-03-23 18:35:27 +01:00
Tobias Geerinckx-Rice c2d468a111
gnu: extremetuxracer: Update to 0.8.0.
* gnu/packages/games.scm (extremetuxracer): Update to 0.8.0.
2020-03-23 18:35:27 +01:00
Alexandros Theodotou d3e7282ec3
gnu: Add zlfo.
* gnu/packages/music.scm (zlfo): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
2020-03-23 15:39:02 +01:00
Alexandros Theodotou 360ebe50b5
gnu: Add ztoolkit-rsvg.
* gnu/packages/audio.scm (ztoolkit-rsvg): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net> [with modifications]
2020-03-23 15:39:01 +01:00
Alexandros Theodotou 2f4faccc6f
gnu: Add ztoolkit.
* gnu/packages/audio.scm (ztoolkit): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
2020-03-23 15:39:00 +01:00
Roel Janssen 7ff6395100
gnu: Add circos.
* gnu/local.mk: Register circos-remove-findbin.patch.
* gnu/packages/patches/circos-remove-findbin.patch: New file.
* gnu/packages/perl.scm: New variable.
2020-03-23 11:42:36 +01:00
Alexandros Theodotou 591faabd8c
gnu: Add python-gcovr.
* gnu/packages/python-xyz.scm (python-gcovr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-03-23 10:48:18 +01:00
Alexandros Theodotou 670da39888
gnu: Add lv2toweb.
* gnu/packages/audio.scm (lv2toweb): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-03-23 10:48:18 +01:00
Ludovic Courtès 8bc745052e
machine: ssh: Better report missing initrd modules.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Improve message
upon module mismatch.
2020-03-23 10:48:17 +01:00
Ludovic Courtès 1292372725
deploy: Write a message upon successful deployment.
* guix/scripts/deploy.scm (guix-deploy): Write message upon successful
deployment.
2020-03-23 10:48:17 +01:00
Ludovic Courtès 1bb248d0b1
deploy: Show what machines will be deployed.
* guix/scripts/deploy.scm (show-what-to-deploy): New procedure.
(guix-deploy): Call it.
2020-03-23 10:48:17 +01:00
Ludovic Courtès 7b322d3c4c
ui: Add 'indented-string'.
* guix/scripts/pull.scm (display-news-entry): Remove extra space in
format string for 'indented-string'.
(indented-string): Remove.
(display-new/upgraded-packages)[pretty]: Pass #:initial-indent? to
'indented-string'.
* guix/ui.scm (indented-string): New procedure.
2020-03-23 10:48:17 +01:00
Ludovic Courtès ea6e2299b4
machine: ssh: Make sanity checks in a single round trip.
* gnu/machine/ssh.scm (<remote-assertion>): New record type.
(remote-let): New macro.
(machine-check-file-system-availability): Rewrite to use 'remote-let'
instead of 'mlet' and 'machine-remote-eval'.
(machine-check-initrd-modules): Likewise.
(machine-check-building-for-appropriate-system): Make non-monadic.
(check-deployment-sanity): Rewrite to gather all the assertions as a
single gexp and pass it to 'machine-remote-eval'.
2020-03-23 10:48:17 +01:00
Ludovic Courtès 8f53d73493
ssh: 'send-files' reports missing modules on the remote host.
Reported by Mikael Djurfeldt <mikael@djurfeldt.com>
in <https://bugs.gnu.org/40125>.

* guix/ssh.scm (send-files)[inferior-remote-eval*]: New procedure.
[missing]: Use it.  Add an explicit 'resolve-module' call.
(report-inferior-exception): New procedure.
2020-03-23 10:48:17 +01:00
Leo Famulari 1eb27d5cae
Re-order the armhf linux-libre kernel packages to fix the build.
This is a followup to commit 37f8c50cdc.

Previously, building Guix crashed like this:

------
In ice-9/eval.scm:
    619:8  4 (_ #f)
   626:19  3 (_ #<directory (gnu packages linux) 7fcf3e526c80>)
    159:9  2 (_ #<directory (gnu packages linux) 7fcf3e526c80>)
   223:20  1 (proc #<directory (gnu packages linux) 7fcf3e526c80>)
In unknown file:
           0 (%resolve-variable (7 . linux-libre-arm-generic) #<directory (gnu packages linux) 7fcf3e526c80>)

ERROR: In procedure %resolve-variable:
error: linux-libre-arm-generic: unbound variable
------

* gnu/packages/linux.scm (linux-libre-arm-veyron): Move after
linux-libre-arm-generic.
2020-03-23 01:46:48 -04:00
Vagrant Cascadian 058e96c59f
gnu: Add linux-libre-arm64-generic.
* gnu/packages/linux (linux-libre-arm64-generic): New variable.
2020-03-22 20:55:42 -07:00
Vagrant Cascadian 37f8c50cdc
gnu: linux-libre-arm-veyron: Deprecate package.
* gnu/packages/linux (linux-libre-arm-veyron): Mark as deprecated package.
  (kernel-config-veyron): Remove obsolete function.
* gnu/system/examples/asus-c201.tmpl: Update to use linux-libre-arm-generic.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf: Delete file.
* Makefile.am (AUX_FILES): Update accordingly.
2020-03-22 20:55:37 -07:00
Maxim Cournoyer 4ef89d884d
gnu: emacs-elpy: Update to 1.32.0.
* gnu/packages/emacs-xyz.scm (emacs-elpy): Update to 1.32.0.
[phases]{fake-virtualenv}: Rename to 'do-not-use-virtualenv.  Use the new
ELPY_TEST_DONT_USE_VIRTUALENV environment variable to skip tests using
virtualenv, and set the elpy-rpc-virtualenv-path default value to 'system so
that a virtualenv is not needed.
[native-inputs]: Move the Python dependencies to...
[propagated] ...here.  This is so that Elpy doesn't nag users with fetching
those from PyPI.   Add python-rope.

Fixes <https://bugs.gnu.org/40079>.
Reported-by: sirgazil <sirgazil@zoho.com>
2020-03-22 21:17:39 -04:00
Maxim Cournoyer 4cbd60698d
gnu: emacs: Patch references to /bin/sh.
When attempting to run ert-runner in the build side environment where /bin/sh
doesn't exist as part of the emacs-elpy test suite, Emacs was throwing the
error "Searching for program: No such file or directory, /bin/sh".  This is
because the default shell when SHELL is not set was "/bin/sh", as can be seen
in callproc.c:

  sh = getenv ("SHELL");
  Vshell_file_name = build_string (sh ? sh : "/bin/sh");

Thus, patch the occurrences of "/bin/sh" in the source files of Emacs to refer
to their correct store location.

* gnu/packages/emacs.scm (emacs)[phases]{patch-program-file-names}: Add phase.
2020-03-22 21:17:39 -04:00
Maxim Cournoyer 393c5e6928
gnu: emacs-minimal: Install the custom site-start file.
This makes the EMACS-MINIMAL package more generally useful, by adding support
to load autoload definitions.  Note that this doesn't negatively impact the
performance of the emacs-build-system, because at that time the --quick option
is used, which disables loading site-start.el (which is the one calling
GUIX-EMACS-AUTOLOAD-PACKAGES).

* gnu/packages/emacs.scm (emacs-minimal)[phases]: Do not delete the
'install-site-start phase.
[inputs]: Add the emacs/guix-emacs.el auxiliary file.
2020-03-22 21:17:39 -04:00
Maxim Cournoyer 3bd3a6257f
gnu: emacs: Re-indent.
* gnu/packages/emacs.scm (emacs): Fix indentation.
2020-03-22 21:17:39 -04:00
Maxim Cournoyer ffaec30702
gnu: emacs: Byte compile the site-lisp directory, without coupling.
This re-instates what the previously reverted commit did, but without adding
a dependency on the (guix build emacs-utils) module.

* gnu/packages/emacs.scm (emacs)[phases]{install-site-start}: Define a
EMACS-BYTE-COMPILE-DIRECTORY procedure, and use it.
2020-03-22 21:17:38 -04:00
Maxim Cournoyer d0a64567f1
Revert "gnu: emacs: Byte compile the site-lisp directory."
This reverts commit 4714d0fc1a.

Rational: Having to rebuild Emacs every time (guix build emacs-utils) changes
is not great.
2020-03-22 21:17:38 -04:00
Maxim Cournoyer 155f9afde5
gnu: emacs: Remove obsolete FIXME comment.
* gnu/packages/aux-files/emacs/guix-emacs.el: Remove comment.
2020-03-22 21:17:38 -04:00
Maxim Cournoyer afc6b1c0b6
build: emacs-utils: Add an option to select scoping for batch eval.
In Emacs 27, --eval now evaluates using lexical scoping.  This change adds an
option to select dynamic scoping, by using a workaround proposed in
<https://bugs.gnu.org/39823>.

* guix/build/emacs-utils.scm (emacs-batch-eval): Add a DYNAMIC? keyword
argument.  Wrap the EXPR with a call to EVAL that makes use of the argument
to select the scoping mode.
(emacs-generate-autoloads): Use it.
2020-03-22 21:17:38 -04:00
Kei Kebreau 6607aad53c
gnu: wxmaxima: Update to 20.03.1.
* gnu/packages/maths.scm (wxmaxima): Update to 20.03.1.
2020-03-22 19:22:42 -04:00
Ludovic Courtès 86603d8660
nls: Update. 2020-03-23 00:06:58 +01:00
Ludovic Courtès ae5c4a9292
services: console-font: Fix docstring.
* gnu/services/base.scm (console-font-service-type): Use quasiquote and
unquote appropriately in docstring.
2020-03-23 00:06:58 +01:00
John Soo 8825f9955a
doc: Add console-font-service-type to Base Services.
* doc/guix.texi (Base Services): Add console-font-service-type.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-03-23 00:06:58 +01:00
Ludovic Courtès 8b18f5cb30
tests: Use the same source as ci.guix.gnu.org.
* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use
a name that is a function of COMMIT to match what Cuirass does.
2020-03-23 00:06:58 +01:00
Alexandru-Sergiu Marton d4842a7c47
gnu: i3-gaps: Update to 4.18.
* gnu/packages/wm.scm (i3-gaps): Update to 1.18.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-22 17:21:33 -04:00
Leo Famulari 268efd97c2
gnu: Remove qemu-minimal-2.10.
* gnu/packages/virtualization.scm (qemu-minimal-2.10): Remove variable.
* gnu/packages/debug.scm (qemu-for-american-fuzzy-lop): New variable.
(american-fuzzy-lop)[inputs]: Remove custom-qemu and add
qemu-for-american-fuzzy-lop.
[arguments]: Adjust reference to QEMU in the 'install-qemu' phase.
2020-03-22 14:26:31 -04:00
Leo Famulari c9164d3098
gnu: Prefix licenses in (gnu packages debug).
* gnu/packages/debug.scm: Add a license prefix.
2020-03-22 14:26:31 -04:00
Guillaume Le Vaillant e6a0cd9aa1
gnu: electron-cash: Update to 4.0.13.
This package was inheriting from electrum, but as now almost all the fields
have differences, let's make these two packages independent from each other.

* gnu/packages/finance.scm (electron-cash): Update to 4.0.13.
  [inputs]: Add libevent, openssl, python-cython, python-hidapi,
  python-keepkey, python-stem, python-trezor, qtsvg and zlib.
  [arguments]: Add a wrap-qt phase allowing qtsvg to be found at runtime to
  show SVG icons correctly.
2020-03-22 19:03:52 +01:00
Alex Griffin 9720894cc8
gnu: gnome-shell-extension-paperwm: Update to 36.0.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm): Update to 36.0.
2020-03-22 11:24:25 -05:00
Guillaume Le Vaillant aaa8893715
gnu: qbittorrent: Fix icons not showing in GUI.
* gnu/packages/bittorrent.scm (qbittorrent)[arguments]: Add a wrap-qt phase.
2020-03-22 17:11:14 +01:00
Ludovic Courtès 23b3947897
gnu: libchop: Build against libtirpc and related tools.
* gnu/packages/backup.scm (libchop)[source]: Add 'modules' and 'snippet'.
[arguments]: Add #:configure-flags; add 'set-libtirpc-include-path' phase.
[native-inputs]: Add RPCSVC-PROTO.
[inputs]: Add LIBTIRPC.
2020-03-22 16:49:47 +01:00
Ludovic Courtès 9acacb71c9
Remove workaround for 'time-monotonic' in Guile 2.2.2.
This is a followup to e688c2df39.

* build-aux/hydra/evaluate.scm <top level>: Remove 'time-monotonic'
definition.
* guix/cache.scm: Likewise.
* guix/progress.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
* guix/scripts/weather.scm: Likewise.
* tests/cache.scm: Likewise.
2020-03-22 16:49:47 +01:00
Ludovic Courtès 99b23eabdb
installer: Do not include the host (guix config).
Previously, "locales.drv" would depend on the host's (guix config).
Thus, the derivation would depend on details of the user's installation.

* gnu/installer.scm (not-config?): New procedure.
(build-compiled-file): Pass it to 'source-module-closure' and use
'make-config.scm'.
2020-03-22 16:49:47 +01:00
pinoaffe@airmail.cc 363989e668
gnu: Add nextpnr-ice40.
* gnu/packages/fpga.scm (nextpnr-ice40): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 15:59:35 +01:00
pinoaffe@airmail.cc 179be4bbe4
gnu: icestorm: Update to latest revision.
* gnu/packages/fpga.scm (icestorm): Update to latest revision.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 15:59:33 +01:00
Efraim Flashner 113309e044
gnu: r-dt: Update license field.
* gnu/packages/statistics.scm (r-dt)[license]: Add wtfpl2.
2020-03-22 15:37:49 +02:00
Efraim Flashner ff66791d3a
gnu: zzuf: Update license field.
* gnu/packages/debug.scm (zzuf)[license]: List as wtfpl2.
2020-03-22 15:37:48 +02:00
Efraim Flashner 8506fce04b
gnu: libcaca: Update license field.
* gnu/packages/video.scm (libcaca)[license]: List as wtfpl2.
2020-03-22 15:37:48 +02:00