Return two values from channel->source-and-derivations-by-system
This commit is contained in:
parent
b8d9ed19b2
commit
2da3a195ea
1 changed files with 3 additions and 6 deletions
|
|
@ -1249,7 +1249,7 @@
|
|||
derivation-file-name)))
|
||||
derivation-file-names-by-system)
|
||||
|
||||
(cons source derivation-file-names-by-system))))
|
||||
(values source derivation-file-names-by-system))))
|
||||
|
||||
(prevent-inlining-for-tests channel->source-and-derivations-by-system)
|
||||
|
||||
|
|
@ -1679,16 +1679,13 @@
|
|||
(channel (name 'guix)
|
||||
(url git-repository-url)
|
||||
(commit commit)))
|
||||
(source-and-channel-derivations-by-system
|
||||
(guix-source
|
||||
channel-derivations-by-system
|
||||
(channel->source-and-derivations-by-system
|
||||
conn
|
||||
channel-for-commit
|
||||
fetch-with-authentication?
|
||||
#:parallelism parallelism))
|
||||
(guix-source
|
||||
(car source-and-channel-derivations-by-system))
|
||||
(channel-derivations-by-system
|
||||
(cdr source-and-channel-derivations-by-system))
|
||||
(guix-revision-id
|
||||
(load-channel-instances git-repository-id commit
|
||||
channel-derivations-by-system)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue