diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-05-04 12:30:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-04 13:09:00 +0200 |
commit | 39eb9b5a5cc1ea1224609ea20eaaaf3972c280f0 (patch) | |
tree | fd40339f3a6c45bb25723e10aef9e040f212226c /guix/import | |
parent | 8e065692c27a71cf9ba81401049c27ab39894560 (diff) | |
download | guix-patches-39eb9b5a5cc1ea1224609ea20eaaaf3972c280f0.tar guix-patches-39eb9b5a5cc1ea1224609ea20eaaaf3972c280f0.tar.gz |
import: elpa: Use the expected repo in recursive imports.
* guix/import/elpa.scm (elpa-recursive-import): Pass REPO in calls to
'elpa->guix-package'.
Diffstat (limited to 'guix/import')
-rw-r--r-- | guix/import/elpa.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index 7285500775..760969d70e 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> -;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2015-2018, 2020-2021, 2023 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net> ;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net> @@ -456,8 +456,11 @@ type '<elpa-package>'." (define* (elpa-recursive-import package-name #:optional (repo 'gnu)) (recursive-import package-name - #:repo repo - #:repo->guix-package elpa->guix-package + #:repo->guix-package + (lambda (name . rest) + (apply elpa->guix-package name + #:repo repo + rest)) #:guix-name elpa-guix-name)) ;;; elpa.scm ends here |