From 62cab99c3297a066f466780bb4d83a4f142538c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 12 Nov 2012 23:10:26 +0100 Subject: Add (guix download) and (guix build download). * guix/download.scm, guix/build/download.scm: New files. * Makefile.am (MODULES): Add them. * tests/builders.scm ("url-fetch"): New test. * distro/packages/bootstrap.scm (bootstrap-origin): Support `url-fetch'. * guix/snix.scm (snix-derivation->guix-package): Use `url-fetch' instead of `http-fetch'. --- guix/snix.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/snix.scm') diff --git a/guix/snix.scm b/guix/snix.scm index c6a9bee6a7..a5b8447470 100644 --- a/guix/snix.scm +++ b/guix/snix.scm @@ -400,7 +400,7 @@ location of DERIVATION." (name ,name) (version ,version) (source (origin - (method http-fetch) + (method url-fetch) (uri ,(pretty-uri (car urls) version)) (sha256 (base32 -- cgit v1.2.3