2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00

templates: Use 'derivation-build-plan'.

* src/cuirass/templates.scm (build-details): Use 'derivation-build-plan'
instead of 'derivation-prerequisites-to-build'.
This commit is contained in:
Ludovic Courtès 2019-08-17 19:08:33 +02:00
parent b1d7e9ddb4
commit 858b6b8c8f

View file

@ -1,6 +1,6 @@
;;; templates.scm -- HTTP API
;;; Copyright © 2018 Tatiana Sholokhova <tanja201396@gmail.com>
;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; 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)