mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 15:03:44 +00:00
derivations: Use a set for 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Use sets instead of lists.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user