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
;; 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 @@ (define (copy-directory source destination)
(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
......
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