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
|
derivation-id
|
||||||
(append-map!
|
(append-map!
|
||||||
(match-lambda
|
(match-lambda
|
||||||
(($ <derivation-input> derivation-or-path sub-derivations)
|
;; The first field changed to a derivation (from the file name)
|
||||||
(let ((path
|
;; in 5cf4b26d52bcea382d98fb4becce89be9ee37b55, so guard against
|
||||||
(match derivation-or-path
|
;; that in the match
|
||||||
((? derivation? d)
|
(($ <derivation-input> (? derivation? d) sub-derivations)
|
||||||
;; The first field changed to a derivation (from the file
|
(let ((path (derivation-file-name d)))
|
||||||
;; name) in 5cf4b26d52bcea382d98fb4becce89be9ee37b55
|
|
||||||
(derivation-file-name d))
|
|
||||||
((? string? s)
|
|
||||||
s))))
|
|
||||||
(map (lambda (sub-derivation)
|
(map (lambda (sub-derivation)
|
||||||
(select-derivation-output-id conn
|
(select-derivation-output-id conn
|
||||||
sub-derivation
|
sub-derivation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue