[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29925] [PATCH 3/5] guix package: Disable profile hooks on dry runs.
From: |
宋文武 |
Subject: |
[bug#29925] [PATCH 3/5] guix package: Disable profile hooks on dry runs. |
Date: |
Mon, 1 Jan 2018 18:33:34 +0800 |
Profile hooks will access the content of manifest inputs before return the
profile derivation, disable them so we don't get inputs bulit on dry runs.
* guix/scripts/package.scm (build-and-use-profile): Disable profile hooks when
a dry-run parameter is given.
---
guix/scripts/package.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 617e102d9..ce0031551 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -203,7 +203,7 @@ specified in MANIFEST, a manifest object."
(let* ((prof-drv (run-with-store store
(profile-derivation manifest
- #:hooks (if bootstrap?
+ #:hooks (if (or bootstrap? dry-run?)
'()
%default-profile-hooks)
#:locales? (not bootstrap?))))
--
2.13.3
- [bug#29928] [PATCH 0/5] Optimize profile hooks, 宋文武, 2018/01/01
- [bug#29927] [PATCH 2/5] profiles: info-dir-file: Don't consider unwanted manifest entries., 宋文武, 2018/01/01
- [bug#29926] [PATCH 1/5] gexp: Add 'eval-gexp'., 宋文武, 2018/01/01
- [bug#29925] [PATCH 3/5] guix package: Disable profile hooks on dry runs.,
宋文武 <=
- [bug#29929] [PATCH 5/5] profiles: Sort manifest inputs for profile hooks., 宋文武, 2018/01/01
- [bug#29930] [PATCH 4/5] profiles: Filter out unwanted manifest entries for profile hooks., 宋文武, 2018/01/01
- [bug#29928] [PATCH 0/5] Optimize profile hooks, Ludovic Courtès, 2018/01/11