[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: derivations: 'substitution-oracle' no longer calls 'read-derivati

From: guix-commits
Subject: 03/04: derivations: 'substitution-oracle' no longer calls 'read-derivation-from-file'.
Date: Wed, 3 Jul 2019 17:45:34 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e85a7b7f8c6a2ef23b29968b3ddf09d922449c19
Author: Ludovic Court├Ęs <address@hidden>
Date:   Wed Jul 3 22:42:19 2019 +0200

    derivations: 'substitution-oracle' no longer calls 
    This is a followup to 5cf4b26d52bcea382d98fb4becce89be9ee37b55.
    * guix/derivations.scm (substitution-oracle): Use
    'derivation-input-derivation' instead of calling
 guix/derivations.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/derivations.scm b/guix/derivations.scm
index 8ce96ce..186d7a3 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -320,8 +320,7 @@ substituter many times."
     ;; info is not already in cache.
     ;; Also, skip derivations marked as non-substitutable.
     (append-map (lambda (input)
-                  (let ((drv (read-derivation-from-file
-                              (derivation-input-path input))))
+                  (let ((drv (derivation-input-derivation input)))
                     (if (substitutable-derivation? drv)
                         (derivation-input-output-paths input)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]