derivations: 'substitution-oracle' no longer calls 'read-derivation-from-file'.
This is a followup to 5cf4b26d52
.
* guix/derivations.scm (substitution-oracle): Use
'derivation-input-derivation' instead of calling
'read-derivation-from-file'.
This commit is contained in:
parent
c14a2b289d
commit
e85a7b7f8c
|
@ -320,8 +320,7 @@ substituter many times."
|
||||||
;; info is not already in cache.
|
;; info is not already in cache.
|
||||||
;; Also, skip derivations marked as non-substitutable.
|
;; Also, skip derivations marked as non-substitutable.
|
||||||
(append-map (lambda (input)
|
(append-map (lambda (input)
|
||||||
(let ((drv (read-derivation-from-file
|
(let ((drv (derivation-input-derivation input)))
|
||||||
(derivation-input-path input))))
|
|
||||||
(if (substitutable-derivation? drv)
|
(if (substitutable-derivation? drv)
|
||||||
(derivation-input-output-paths input)
|
(derivation-input-output-paths input)
|
||||||
'())))
|
'())))
|
||||||
|
|
Loading…
Reference in New Issue