Remove compatability with old guix derivation-inputs
This commit is contained in:
parent
59f1a04f4e
commit
61d49cedb3
1 changed files with 5 additions and 9 deletions
|
|
@ -1415,15 +1415,11 @@ VALUES ($1, $2);"
|
|||
derivation-id
|
||||
(append-map!
|
||||
(match-lambda
|
||||
(($ <derivation-input> derivation-or-path sub-derivations)
|
||||
(let ((path
|
||||
(match derivation-or-path
|
||||
((? derivation? d)
|
||||
;; The first field changed to a derivation (from the file
|
||||
;; name) in 5cf4b26d52bcea382d98fb4becce89be9ee37b55
|
||||
(derivation-file-name d))
|
||||
((? string? s)
|
||||
s))))
|
||||
;; The first field changed to a derivation (from the file name)
|
||||
;; in 5cf4b26d52bcea382d98fb4becce89be9ee37b55, so guard against
|
||||
;; that in the match
|
||||
(($ <derivation-input> (? derivation? d) sub-derivations)
|
||||
(let ((path (derivation-file-name d)))
|
||||
(map (lambda (sub-derivation)
|
||||
(select-derivation-output-id conn
|
||||
sub-derivation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue