mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-02 07:15:53 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user