~ruther/guix-local

f76a51add021d599f0db54b7045cbf63a6a722d1 — Ludovic Courtès 13 years ago 4c261f4
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.
1 files changed, 5 insertions(+), 1 deletions(-)

M distro/packages/base.scm
M distro/packages/base.scm => distro/packages/base.scm +5 -1
@@ 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