derivations: Use a set for 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Use sets instead of lists.
This commit is contained in:
parent
ed3592a980
commit
c06d140c03
|
@ -217,8 +217,8 @@ substituter many times."
|
||||||
(append self deps result)))
|
(append self deps result)))
|
||||||
'()
|
'()
|
||||||
drv)))
|
drv)))
|
||||||
(subst (substitutable-paths store paths)))
|
(subst (list->set (substitutable-paths store paths))))
|
||||||
(cut member <> subst)))
|
(cut set-contains? subst <>)))
|
||||||
|
|
||||||
(define* (derivation-prerequisites-to-build store drv
|
(define* (derivation-prerequisites-to-build store drv
|
||||||
#:key
|
#:key
|
||||||
|
|
Loading…
Reference in New Issue