f81ac34dd9
Fixes <http://bugs.gnu.org/18534>. * guix/scripts/pull.scm (with-environment-variable, with-PATH): New macros. (temporary-directory, first-directory, interned-then-deleted): New procedures. (unpack): Rewrite to do the unpacking in the current process rather than as a separate derivation. (%self-build-file): New variable. (build-from-source): New procedure. (build-and-install): Use it. * guix/build/pull.scm (build-guix): Rename 'tarball' argument to 'source'. Remove #:tar and #:gzip parameters, as well as 'tar' invocation. Remove 'scandir' invocation. Wrap body in 'with-directory-excursion'. * build-aux/build-self.scm: New file. * Makefile.am (EXTRA_DIST): Add it. |
||
---|---|---|
.. | ||
build | ||
build-system | ||
import | ||
scripts | ||
base32.scm | ||
base64.scm | ||
build-system.scm | ||
config.scm.in | ||
derivations.scm | ||
download.scm | ||
ftp-client.scm | ||
gexp.scm | ||
git-download.scm | ||
gnu-maintenance.scm | ||
gnupg.scm | ||
hash.scm | ||
http-client.scm | ||
licenses.scm | ||
monad-repl.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
records.scm | ||
serialization.scm | ||
store.scm | ||
svn-download.scm | ||
tests.scm | ||
ui.scm | ||
utils.scm |