From 858b6b8c8f2ae7b1ddaf4ae363147121be1f1fe8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 17 Aug 2019 19:08:33 +0200 Subject: templates: Use 'derivation-build-plan'. * src/cuirass/templates.scm (build-details): Use 'derivation-build-plan' instead of 'derivation-prerequisites-to-build'. --- src/cuirass/templates.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm index 84097f0..7cca2b2 100644 --- a/src/cuirass/templates.scm +++ b/src/cuirass/templates.scm @@ -1,6 +1,6 @@ ;;; templates.scm -- HTTP API ;;; Copyright © 2018 Tatiana Sholokhova -;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018, 2019 Ludovic Courtès ;;; Copyright © 2019 Ricardo Wurmus ;;; ;;; This file is part of Cuirass. @@ -158,8 +158,9 @@ (append-map derivation-input-output-paths (filter (compose derivation-log-file derivation-input-path) (with-store store - (derivation-prerequisites-to-build - store drv #:substitutable-info (const #f)))))) + (derivation-build-plan + store (list (derivation-input drv)) + #:substitutable-info (const #f)))))) '())) (define completed? (or (= (build-status succeeded) status) -- cgit v1.2.3