Skip to content
Snippets Groups Projects
Commit f76a51ad authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

distro: Clear references to the store in static binaries.

* distro/packages/base.scm (%static-binaries): Clear references to the
  store path for files in $out/bin.
parent 4c261f41
No related branches found
No related tags found
No related merge requests found
...@@ -1967,7 +1967,7 @@ (define %static-inputs ...@@ -1967,7 +1967,7 @@ (define %static-inputs
;; Since we use `-static', remove ;; Since we use `-static', remove
;; `-export-dynamic'. ;; `-export-dynamic'.
(substitute* "configure" (substitute* "configure"
(("-export-dynamic") ""))) (("-export-dynamic") "")))
%standard-phases) %standard-phases)
,@((package-arguments gawk) system))))))) ,@((package-arguments gawk) system)))))))
`(,@(map (match-lambda `(,@(map (match-lambda
...@@ -2036,6 +2036,10 @@ (define (copy-directory source destination) ...@@ -2036,6 +2036,10 @@ (define (copy-directory source destination)
(string-append bin "/" name))))) (string-append bin "/" name)))))
(alist-delete "coreutils" %build-inputs)) (alist-delete "coreutils" %build-inputs))
;; Clear references to the store path.
(for-each remove-store-references
(directory-contents bin))
#t))))) #t)))))
(description "Statically-linked bootstrap binaries") (description "Statically-linked bootstrap binaries")
(long-description (long-description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment