aboutsummaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-09-12 23:47:49 +0200
committerLudovic Courtès <ludo@gnu.org>2012-09-12 23:47:49 +0200
commit457dd86d66bc1ee1ee13a76d03792396fb69ee34 (patch)
treef652df780af8245b51b0363545f938aa40586950 /distro
parentfb585745adcd2935b179db1ce847318ec3724c4e (diff)
downloadguix-457dd86d66bc1ee1ee13a76d03792396fb69ee34.tar.gz
guix-457dd86d66bc1ee1ee13a76d03792396fb69ee34.zip
Add (guix ftp) and companion modules.
* guix/ftp-client.scm, guix/ftp.scm, guix/build/ftp.scm: New files. * Makefile.am (MODULES): Add them. * distro/base.scm (libffi): Use `ftp-fetch'.
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/distro/base.scm b/distro/base.scm
index c0c51ff0bc..3790f48bfd 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -19,6 +19,7 @@
(define-module (distro base)
#:use-module (distro)
#:use-module (guix packages)
+ #:use-module (guix ftp)
#:use-module (guix http)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
@@ -1138,9 +1139,9 @@ extensible. It supports many SRFIs.")
(name "libffi")
(version "3.0.9")
(source (origin
- (method http-fetch)
- (uri ;; FIXME: should be ftp://
- (string-append "http://sourceware.org/pub/libffi/"
+ (method ftp-fetch)
+ (uri
+ (string-append "ftp://sourceware.org/pub/libffi/"
name "-" version ".tar.gz"))
(sha256
(base32