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
parent
4c261f4169
commit
f76a51add0
|
@ -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
|
||||||
|
|
Reference in New Issue