me
/
guix
Archived
1
0
Fork 0

import: Cosmetic tweaks to 'recursive-import'.

* guix/import/utils.scm (recursive-import): Tweak docstring.  Simplify
'apply' call.
master
Ludovic Courtès 2023-05-04 12:31:41 +02:00
parent 39eb9b5a5c
commit 124b921a5e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ obtain a node's uniquely identifying \"key\"."
#: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 @@ to obtain the Guix package name corresponding to the upstream name."
((#: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)))