download: Download a nar when a VCS checkout fails.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Tue, 17 Oct 2017 08:34:03 +0000 (10:34 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 19 Oct 2017 21:21:49 +0000 (23:21 +0200)
commit37ce440dcffa9ff4f5401bacbc9619bd8ea561c1
tree43abe15321bd541a27d04b4b1faf556cf3e5acb0
parent8c3488259ea9e8d18a2c5b947cf9a137a12546a6
download: Download a nar when a VCS checkout fails.

Fixes <https://bugs.gnu.org/28709>.

* guix/build/download-nar.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/cvs-download.scm (cvs-fetch)[zlib, config.scm, modules]: New
variables.
[build]: Use MODULES.  Add call to 'download-nar'.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
Makefile.am
guix/build/download-nar.scm [new file with mode: 0644]
guix/cvs-download.scm
guix/git-download.scm
guix/hg-download.scm