summary refs log tree commit diff
path: root/distro/packages
diff options
context:
space:
mode:
Diffstat (limited to 'distro/packages')
-rw-r--r--distro/packages/base.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 1b3d96a93b..5e391ed580 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -1967,7 +1967,7 @@ store.")
                                  ;; Since we use `-static', remove
                                  ;; `-export-dynamic'.
                                  (substitute* "configure"
-                                  (("-export-dynamic") "")))
+                                   (("-export-dynamic") "")))
                                %standard-phases)
                      ,@((package-arguments gawk) system)))))))
     `(,@(map (match-lambda
@@ -2036,6 +2036,10 @@ store.")
                                      (string-append bin "/" name)))))
                       (alist-delete "coreutils" %build-inputs))
 
+            ;; Clear references to the store path.
+            (for-each remove-store-references
+                      (directory-contents bin))
+
             #t)))))
     (description "Statically-linked bootstrap binaries")
     (long-description