mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
import: Cosmetic tweaks to 'recursive-import'.
* guix/import/utils.scm (recursive-import): Tweak docstring. Simplify 'apply' call.
This commit is contained in:
parent
39eb9b5a5c
commit
124b921a5e
1 changed files with 2 additions and 2 deletions
|
@ -607,7 +607,7 @@ (define* (recursive-import package-name
|
|||
#:allow-other-keys #:rest rest)
|
||||
"Return a list of package expressions for PACKAGE-NAME and all its
|
||||
dependencies, sorted in topological order. For each package,
|
||||
call (REPO->GUIX-PACKAGE NAME :KEYS version), which should return a
|
||||
call (REPO->GUIX-PACKAGE NAME #:version V), which should return a
|
||||
package expression and a list of dependencies; call (GUIX-NAME PACKAGE-NAME)
|
||||
to obtain the Guix package name corresponding to the upstream name."
|
||||
(define-record-type <node>
|
||||
|
@ -627,7 +627,7 @@ (define (lookup-node name version)
|
|||
((#:version v . more) more)
|
||||
(_ post)))
|
||||
(args (append pre (list #:version version) post*))
|
||||
(package dependencies (apply repo->guix-package (cons* name args)))
|
||||
(package dependencies (apply repo->guix-package name args))
|
||||
(normalized-deps (map (match-lambda
|
||||
((name version) (list name version))
|
||||
(name (list name #f))) dependencies)))
|
||||
|
|
Loading…
Reference in a new issue