diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-09 22:32:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-09 22:33:45 +0100 |
commit | f81ac34dd9ab0f2ebaabf2cf382bd52d0d78396a (patch) | |
tree | f66eec8952dcbd4e09b346ea8132b75af011bd3d /nix-upstream | |
parent | 4684f301d5a7ff39a913c8f06507f67ec9b4a1cd (diff) | |
download | patches-f81ac34dd9ab0f2ebaabf2cf382bd52d0d78396a.tar patches-f81ac34dd9ab0f2ebaabf2cf382bd52d0d78396a.tar.gz |
pull: Use the build procedure provided by the newly-downloaded Guix.
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.
Diffstat (limited to 'nix-upstream')
0 files changed, 0 insertions, 0 deletions