(address . guix-patches@gnu.org)(name . Simon Tournier)(address . zimon.toutoune@gmail.com)
Hi,
This fixes issue #58308 [1]:
Toggle snippet (11 lines)
$ ./pre-inst-env guix import elpa syslog
guix import: error: failed to download meta-data for package 'syslog'
$ echo $?
1
$ ./pre-inst-env guix import elpa syslog -r
guix import: error: failed to download meta-data for package 'syslog'
$ echo $?
1
In addition, since Elpa importer does not support the specification of the
version, the first patch warns about that:
Toggle snippet (8 lines)
$ ./pre-inst-env guix import elpa -a melpa magit@12
guix import: warning: this importer does not consider the version
(package
((name "emacs-magit")
(version "20230510.2139")
[...]
Cheers,
simon
Simon Tournier (2):
scripts: import: elpa: Warn when version is specified.
scripts: import: elpa: Return consistent error code.
guix/scripts/import/elpa.scm | 34 ++++++++++++++++++++--------------
1 file changed, 20 insertions(+), 14 deletions(-)
base-commit: 6e38ec447f98383e0722ac300734f8d7c8c5c7b0
--
2.38.1