me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2012-10-17 23:34:05 +02:00
parent 4c261f4169
commit f76a51add0
1 changed files with 5 additions and 1 deletions

View File

@ -1967,7 +1967,7 @@ store.")
;; 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 @@ store.")
(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