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)))
|
||||
'()
|
||||
drv)))
|
||||
(subst (substitutable-paths store paths)))
|
||||
(cut member <> subst)))
|
||||
(subst (list->set (substitutable-paths store paths))))
|
||||
(cut set-contains? subst <>)))
|
||||
|
||||
(define* (derivation-prerequisites-to-build store drv
|
||||
#:key
|
||||
|
|
Loading…
Reference in New Issue