[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/16: ui: 'show-what-to-build' returns true when there are grafts to bu
From: |
guix-commits |
Subject: |
09/16: ui: 'show-what-to-build' returns true when there are grafts to build. |
Date: |
Sun, 22 Mar 2020 07:43:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit bec3474107e73fc0ca3821a525025c27dc005288
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sun Mar 22 11:50:40 2020 +0100
ui: 'show-what-to-build' returns true when there are grafts to build.
* guix/ui.scm (show-what-to-build): Distinguish between 'build/full' and
'build'. Return true whe 'build/full' is non-empty, thus taking grafts
into account.
---
guix/ui.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index 46286c1..12a998d 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -934,7 +934,7 @@ check and report what is prerequisites are available for
download."
colorize-store-file-name
identity))
- (let*-values (((build download)
+ (let*-values (((build/full download)
(derivation-build-plan store inputs
#:mode mode
#:substitutable-info
@@ -958,7 +958,7 @@ check and report what is prerequisites are available for
download."
#:hook ,hook
#:build ,(cons file build))))))))
'(#:graft () #:hook () #:build ())
- build)
+ build/full)
((#:graft graft #:hook hook #:build build)
(values graft hook build)))))
(define installed-size
@@ -1041,7 +1041,7 @@ check and report what is prerequisites are available for
download."
(check-available-space installed-size)
- (pair? build)))
+ (pair? build/full)))
(define show-what-to-build*
(store-lift show-what-to-build))
- 01/16: syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent., (continued)
- 01/16: syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent., guix-commits, 2020/03/22
- 03/16: ui: Add a notification build handler., guix-commits, 2020/03/22
- 04/16: guix build: Use 'with-build-handler'., guix-commits, 2020/03/22
- 08/16: guix system: Use 'with-build-handler'., guix-commits, 2020/03/22
- 10/16: ui: 'show-what-to-build' returns two values, for builds and downloads., guix-commits, 2020/03/22
- 12/16: copy: Factorize 'with-store' & co., guix-commits, 2020/03/22
- 15/16: packages: 'package-field-location' handles missing source properties., guix-commits, 2020/03/22
- 13/16: copy: Actually implement '--dry-run'., guix-commits, 2020/03/22
- 07/16: guix package, pull: Use 'with-build-handler'., guix-commits, 2020/03/22
- 06/16: pack: Use 'with-build-handler'., guix-commits, 2020/03/22
- 09/16: ui: 'show-what-to-build' returns true when there are grafts to build.,
guix-commits <=
- 11/16: ui: 'build-notifier' invokes continuation when there's nothing to do., guix-commits, 2020/03/22
- 14/16: copy: Use 'with-build-handler'., guix-commits, 2020/03/22
- 16/16: hydra: evaluate: Use 'with-build-handler'., guix-commits, 2020/03/22