summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-09-27 11:22:52 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-27 17:55:53 +0200
commit4bd69850df42cedaa0a0f25d89e23889fb4637d0 (patch)
tree5cea92d2a3a7140e15ab7d6b2a345f35ac7061ac /guix/packages.scm
parent8e220c23320c747d9bbe551f4545c5088ad0f494 (diff)
packages: Use 'guile-for-grafts' for grafting.
The call to 'guile-for-grafts' had been inadvertently replaced by a call to 'default-guile' in commit 9e5812ac59b01ff011ec0c5b0f437dfe85d6fcc7. Unfortunately Guile 3.0.7 still occasionally segfaults while grafting so we still need 2.0 here. * guix/packages.scm (package->derivation, package->cross-derivation): Use 'guile-for-grafts' instead of 'default-guile'.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index 863c12d528..3953b7f79b 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -1770,7 +1770,7 @@ This is an internal procedure."
(return drv))
(grafts
(mlet %store-monad ((guile (package->derivation
- (default-guile)
+ (guile-for-grafts)
system #:graft? #f)))
(graft-derivation* drv grafts
#:system system
@@ -1793,7 +1793,7 @@ system identifying string)."
(return drv))
(grafts
(mlet %store-monad ((guile (package->derivation
- (default-guile)
+ (guile-for-grafts)
system #:graft? #f)))
(graft-derivation* drv grafts
#:system system