summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--distro/packages/base.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 6982770128..3f79449250 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -876,13 +876,14 @@ exec ~a/bin/~a-gcc -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
     ,@(fold alist-delete %boot1-inputs '("libc" "gcc"))))
 
 (define binutils-final
-  (package (inherit binutils)
-    (arguments
-     (lambda (system)
-       `(#:guile ,%bootstrap-guile
-         #:implicit-inputs? #f
-         ,@(package-arguments binutils))))
-    (inputs %boot2-inputs)))
+  (package-with-bootstrap-guile
+   (package (inherit binutils)
+     (arguments
+      (lambda (system)
+        `(#:guile ,%bootstrap-guile
+                  #:implicit-inputs? #f
+                  ,@(package-arguments binutils))))
+     (inputs %boot2-inputs))))
 
 (define-public gcc-final
   ;; The final GCC.