(address . guix-patches@gnu.org)(name . ???)(address . iyzsong@member.fsf.org)
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(-)
Toggle diff (15 lines)
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