me
/
guix
Archived
1
0
Fork 0
Commit Graph

64433 Commits (d51bfe242fbe6f3f8f71d723e8fe0c7bbe711ba1)

Author SHA1 Message Date
Ludovic Courtès d51bfe242f
Use 'formatted-message' instead of '&message' where appropriate.
* gnu.scm (%try-use-modules): Use 'formatted-message' instead of
'&message'.
* gnu/machine/digital-ocean.scm (maybe-raise-unsupported-configuration-error):
Likewise.
* gnu/machine/ssh.scm (machine-check-file-system-availability): Likewise.
(machine-check-building-for-appropriate-system): Likewise.
(deploy-managed-host): Likewise.
(maybe-raise-unsupported-configuration-error): Likewise.
* gnu/packages.scm (search-patch): Likewise.
* gnu/services.scm (%service-with-default-value): Likewise.
(files->etc-directory): Likewise.
(fold-services): Likewise.
* gnu/system.scm (locale-name->definition*): Likewise.
* gnu/system/mapped-devices.scm (check-device-initrd-modules): Likewise.
(check-luks-device): Likewise.
* guix/channels.scm (latest-channel-instance): Likewise.
* guix/cve.scm (json->cve-items): Likewise.
* guix/git-authenticate.scm (commit-signing-key): Likewise.
(commit-authorized-keys): Likewise.
(authenticate-commit): Likewise.
(verify-introductory-commit): Likewise.
* guix/remote.scm (remote-pipe-for-gexp): Likewise.
* guix/scripts/graph.scm (assert-package): Likewise.
* guix/scripts/offload.scm (private-key-from-file*): Likewise.
* guix/ssh.scm (authenticate-server*): Likewise.
(open-ssh-session): Likewise.
(remote-inferior): Likewise.
* guix/ui.scm (matching-generations): Likewise.
* guix/upstream.scm (package-update): Likewise.
* tests/channels.scm ("latest-channel-instances, missing introduction for 'guix'"):
Catch 'formatted-message?'.
("authenticate-channel, wrong first commit signer"): Likewise.
* tests/lint.scm ("patches: not found"): Adjust message string.
* tests/packages.scm ("patch not found yields a run-time error"): Catch
'formatted-message?'.
* guix/lint.scm (check-patch-file-names): Handle 'formatted-message?'.
(check-derivation): Ditto.
2020-07-25 19:11:37 +02:00
Ludovic Courtès 252a1926bc
diagnostics: Add '&formatted-message'.
This allows 'gettext' to be called on the format string at the site
where the exception is caught (rather than the site where it's thrown).
It also allows for argument highlighting.

* guix/diagnostics.scm (&formatted-message): New condition type.
(check-format-string): New procedure.
(formatted-message): New macro.
* guix/ui.scm (report-load-error): Add clause for 'formatted-message?'.
(warn-about-load-error): Likewise.
(call-with-error-handling): Likewise.
(read/eval): Likewise.
2020-07-25 19:11:36 +02:00
Ludovic Courtès 860f3d7749
diagnostics: Add a procedural variant of diagnostic procedures.
Callers can pass 'report-error', 'warning', etc. to 'apply'.

* guix/diagnostics.scm (trivial-format-string?): New procedure, moved
from...
(highlight-argument): ... here.
(define-diagnostic): Add 'identifier?' clause.
(emit-diagnostic): New procedure.
2020-07-25 19:11:36 +02:00
Ludovic Courtès efe037fc5c
ui: Factorize '&message' handling.
* guix/ui.scm (call-with-error-handling): Factorize the three
'message-condition?' clauses into one.
2020-07-25 19:11:36 +02:00
Ludovic Courtès 7a0bf3d533
file-systems: Convey hint via '&fix-hint'.
* gnu/system/file-systems.scm (btrfs-store-subvolume-file-name): Use
'&fix-hint' for the hint.
2020-07-25 19:11:36 +02:00
Ludovic Courtès f9a8dd053c
utils: Move '&fix-hint' to (guix diagnostics).
* guix/utils.scm (&fix-hint): Move to...
* guix/diagnostics.scm (&fix-hint): ... here.
* gnu.scm: Adjust imports accordingly.
* gnu/system/mapped-devices.scm: Likewise.
* guix/channels.scm: Likewise.
* guix/profiles.scm: Likewise.
* guix/scripts/system/reconfigure.scm: Likewise.
* guix/ssh.scm: Likewise.
2020-07-25 19:11:36 +02:00
Ludovic Courtès 6a79eed920
utils: Remove compatibility re-export of 'memoize'.
The 'memoize' binding was re-exported in 2016, commit
19e1d5f7f9, as a backwards-compatibility
measure that makes little sense now.

* guix/utils.scm: Don't re-export 'memoize'.
* guix/import/pypi.scm: Adjust imports.
* tests/pypi.scm: Remove duplicate (guix memoization) import.
2020-07-25 19:11:36 +02:00
Ludovic Courtès a5e2fc7376
utils: Move <location> and '&error-location' to (guix diagnostics).
* guix/utils.scm (<location>, source-properties->location)
(location->source-properties, &error-location): Move to...
* guix/diagnostics.scm: ... here.
* gnu.scm: Adjust imports accordingly.
* gnu/machine.scm: Likewise.
* gnu/system.scm: Likewise.
* gnu/tests.scm: Likewise.
* guix/inferior.scm: Likewise.
* tests/channels.scm: Likewise.
* tests/packages.scm: Likewise.
2020-07-25 19:11:36 +02:00
Lars-Dominik Braun 07dbdbd766
gnu: beets: Support replaygain plugin.
* gnu/packages/music.scm (beets)[arguments]: Add 'wrap-typelib phase.
[inputs]: Add gstreamer, gst-plugins-base, gst-plugins-good,
gobject-introspection and python-pygobject.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego 581b37c866
gnu: Add python-pre-commit.
* gnu/packages/version-control.scm (pre-commit): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego a5d27dbe8e
gnu: Add python-pytest-env.
* gnu/packages/python-check.scm (python-pytest-env): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego b8bf0f8c2c
gnu: Add python-nodeenv.
* gnu/packages/python-xyz.scm (python-nodeenv): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego 48443dc880
gnu: Add python-identify.
* gnu/packages/python-xyz.scm (python-identify): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego 9c4d0d29a2
gnu: Add python-cfgv.
* gnu/packages/python-xyz.scm (python-cfgv): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:57 +02:00
Vinicius Monego ea4972e6dc
gnu: Add python-covdefaults.
* gnu/packages/python-check.scm (python-covdefaults): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego 8ea5d35e5c
gnu: Add python-pytest-mpl.
* gnu/packages/python-check.scm (python-pytest-mpl): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego 04a3cb9984
gnu: Add python-pytest-remotedata.
* gnu/packages/python-check.scm (python-pytest-remotedata): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego 8974f7d065
gnu: Add python-pytest-openfiles.
* gnu/packages/python-check.scm (python-pytest-openfiles): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego 4202af69b4
gnu: Add python-pytest-filter-subpackage.
* gnu/packages/python-check.scm (python-pytest-filter-subpackage): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego 5bec698d47
gnu: Add python-pytest-doctestplus.
* gnu/packages/python-check.scm (python-pytest-doctestplus): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Vinicius Monego c0f52c41d8
gnu: Add python-pytest-arraydiff.
* gnu/packages/python-check.scm (python-pytest-arraydiff): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:56 +02:00
Tanguy Le Carrour cd09634ad5
gnu: python-typing-extension: Update to 3.7.4.2.
* gnu/packages/python-xyz.scm (python-typing-extension): Update to 3.7.4.2.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:55 +02:00
Giacomo Leidi 29b659ead3
gnu: Add syncthing-gtk.
* gnu/packages/syncthing.scm (syncthing-gtk): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-07-25 18:47:55 +02:00
Marius Bakke edce3b955d
gnu: procenv: Check is a native input.
* gnu/packages/linux.scm (procenv)[inputs]: Move CHECK ...
[native-inputs]: ... here.
2020-07-25 18:47:55 +02:00
Marius Bakke 406f3f9b8a
gnu: libsigrok: Remove unused input.
* gnu/packages/electronics.scm (libsigrok)[native-inputs]: Remove CHECK.
2020-07-25 18:47:55 +02:00
Marius Bakke 9ff9a64dd1
gnu: ao: Update source URI.
* gnu/packages/xiph.scm (ao)[source](uri): Adjust to current.
2020-07-25 18:47:55 +02:00
Joseph LaFreniere b8901175b7
gnu: Add emacs-shx.
* gnu/packages/emacs-xyz.scm (emacs-shx): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 17:04:50 +03:00
Mathieu Othacehe 554fd0e869
gnu: Add guile-lzlib.
* gnu/packages/guile-xyz.scm (guile-lzlib): New variable.
2020-07-25 16:01:58 +02:00
Mathieu Othacehe 20df47e5a3
gnu: Add guile-zlib.
* gnu/packages/guile-xyz.scm (guile-zlib): New variable.
2020-07-25 14:47:47 +02:00
Michael Rohleder 8e969204d5
gnu: emacs-erc-hl-nicks: Update to 1.3.4.
* gnu/packages/emacs-xyz.scm (emacs-erc-hl-nicks): Update to 1.3.4.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 15:42:28 +03:00
Michael Rohleder cffb787cbb
gnu: emacs-helm: Update to 3.6.4.
From 451290515c14b44aa00bd542e13a00a3898d4a90 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Mon, 20 Jul 2020 18:36:09 +0200
Subject: [PATCH] gnu: emacs-helm: Update to 3.6.4.

* gnu/packages/emacs-xyz.scm (emacs-helm): Update to 3.6.4.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 15:21:49 +03:00
Michael Rohleder f92a03e332
gnu: emacs-org-re-reveal: Update to 3.0.2.
From 1c27f0dd4ab904319ba2b11c29afea07b7f4aca9 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Mon, 20 Jul 2020 18:55:29 +0200
Subject: [PATCH] gnu: emacs-org-re-reveal: Update to 3.0.2.

* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.0.2.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 15:20:08 +03:00
Trevor Hass fb38560c82
gnu: Add azimuth.
* gnu/packages/games.scm (azimuth): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 15:13:39 +03:00
Tobias Geerinckx-Rice 30d6eb85da
gnu: squeak-vm: Enter build directory once.
* gnu/packages/smalltalk.scm (squeak-vm)[arguments]: Use CHDIR instead of
pseudofunctional WITH-DIRECTORY-EXCURSIONs.  Drop the custom ‘build’ phase.
2020-07-25 13:55:57 +02:00
Tobias Geerinckx-Rice b3c1dac11b
gnu: squeak-vm: Update home page.
* gnu/packages/smalltalk.scm (squeak-vm)[source, home-page]: Drop ‘www’ subdomain.
2020-07-25 13:55:56 +02:00
Tobias Geerinckx-Rice db80caa8ca
gnu: wine-staging: Update to 5.13.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 5.13.
2020-07-25 13:13:11 +02:00
Tobias Geerinckx-Rice 46b5e67eaf
gnu: mpg123: Update to 1.26.3.
* gnu/packages/mp3.scm (mpg123): Update to 1.26.3.
2020-07-25 13:13:11 +02:00
Tobias Geerinckx-Rice 0b772051d4
gnu: burp: Enable the live status monitor.
* gnu/packages/backup.scm (burp)[inputs]: Add ncurses.
2020-07-25 13:13:11 +02:00
Tobias Geerinckx-Rice 73f6a2ba54
gnu: bshapr: Update to 0.9.
* gnu/packages/music.scm (bshapr): Update to 0.9.
2020-07-25 13:13:10 +02:00
Tobias Geerinckx-Rice b6d2e60175
gnu: fswatch: Update to 1.15.0.
* gnu/packages/monitoring.scm (fswatch): Update to 1.15.0.
2020-07-25 13:13:10 +02:00
Tanguy Le Carrour 6e06192ca4
gnu: python-tomlkit: Update to 0.6.0.
* gnu/packages/python-xyz.scm (python-tomlkit): Update to 0.6.0.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 13:28:31 +03:00
Tanguy Le Carrour 5a6d0413a9
gnu: python-pifpaf: Update to 2.5.0.
* gnu/packages/python-xyz.scm (python-pifpaf): Update to 2.5.0.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 13:26:37 +03:00
Tanguy Le Carrour a45a259135
gnu: poetry: Update to 1.0.10.
* gnu/packages/python-xyz.scm (poetry): Update to 1.0.10.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:54:19 +03:00
Michael Rohleder ad06328927
gnu: emacs-writeroom: Update to 3.10.
From f5c5d622aaf58bc485f73568513998cda35a8d2e Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Fri, 24 Jul 2020 13:46:39 +0200
Subject: [PATCH] gnu: emacs-writeroom: Update to 3.10.

* gnu/packages/emacs-xyz.scm (emacs-writeroom): Update to 3.10.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:48:29 +03:00
Michael Rohleder 44a2ee1d2b
gnu: emacs-helm-ag: Update to 0.62.
From 2a2b347b4abbd91eaf09f61643fdd22b51b21d4d Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Fri, 24 Jul 2020 13:17:59 +0200
Subject: [PATCH] gnu: emacs-helm-ag: Update to 0.62.

* gnu/packages/emacs-xyz.scm (emacs-helm-ag): Update to 0.62.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:48:18 +03:00
Michael Rohleder 1c51efdb55
gnu: emacs-helm-gtags: Update to 1.5.7.
From 4399c3eb815a16ae21c85bad33cd3c69e8d43c4f Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Fri, 24 Jul 2020 12:14:34 +0200
Subject: [PATCH] gnu: emacs-helm-gtags: Update to 1.5.7.

* gnu/packages/emacs-xyz.scm (emacs-helm-gtags): Update to 1.5.7.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:46:30 +03:00
Oleg Pykhalov 64c6282e7f
services: nix: Add extra-options.
* gnu/services/nix.scm (<nix-configuration>)[extra-options]: New field.
(nix-shepherd-service): Add this.
(nix-activation): Add new line to the end of /etc/nix/nix.conf file.
* doc/guix.texi (Miscellaneous Services)[Nix service]: Document this.
2020-07-25 12:27:35 +03:00
Oleg Pykhalov 3601d802d5
services: nix: Fix typo.
* gnu/services/nix.scm (<nix-configuration>): Fix typo.
2020-07-25 12:27:35 +03:00
Peng Mei Yu ee67d193b3
services: nix: Export nix-configuration.
* gnu/services/nix.scm (nix-configuration, nix-configuration?): Export.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:27:35 +03:00
Peng Mei Yu via Guix-patches via db65d7447c
services: nix: Provide nix commands.
* gnu/services/nix.scm (nix-service-type): Extend profile-service-type to
provide nix commands.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-07-25 12:27:35 +03:00