gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.
authorLudovic Courtès <ludo@gnu.org>
Fri, 14 Jun 2019 13:10:45 +0000 (15:10 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 14 Jun 2019 19:57:01 +0000 (21:57 +0200)
commit836a85da0e8609d40716581be00802ee43463038
tree1804358a2d33a5b9ed951a4cff49ac1d21349cd0
parent267966f9111f4af905479fd01e7689912ccba026
gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.

* gnu/packages/bootstrap.scm (%bootstrap-executables): New variable.
(bootstrap-executable-url, bootstrap-executable): New procedure.
(raw-build)[->store]: Use 'run-with-store' and 'origin->derivation'.
Add calls to 'derivation->output-path', and remove the list of
references passed to 'add-text-to-store' for BUILDER.  Augment the list
of #:inputs passed to 'derivation'.
(package-from-tarball): Use 'bootstrap-executable' instead of
'search-bootstrap-binary'.
(%bootstrap-glibc, %bootstrap-gcc, %bootstrap-mescc-tools)
(%bootstrap-mes): Likewise.
* guix/scripts/environment.scm (environment-bash): Use
'bootstrap-executable' instead of 'search-bootstrap-binary'.
(guix-environment): Adjust CONTAINER? case accordingly.
* po/guix/POTFILES.in: Add gnu/packages/bootstrap.scm.
gnu/packages/bootstrap.scm
guix/scripts/environment.scm
po/guix/POTFILES.in