diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-09-12 23:47:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-09-12 23:47:49 +0200 |
commit | 457dd86d66bc1ee1ee13a76d03792396fb69ee34 (patch) | |
tree | f652df780af8245b51b0363545f938aa40586950 /distro | |
parent | fb585745adcd2935b179db1ce847318ec3724c4e (diff) | |
download | patches-457dd86d66bc1ee1ee13a76d03792396fb69ee34.tar patches-457dd86d66bc1ee1ee13a76d03792396fb69ee34.tar.gz |
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.scm | 7 |
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 |