1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

guix-download: Add support for file:// URIs.

* guix-download.in (fetch-and-store): New procedure.
  (guix-download): Use it to compute PATH.  Call `add-to-store' when
  a `file' URI scheme is used.
* Makefile.am (AM_TESTS_ENVIRONMENT): New variable.
* tests/guix-download.sh: Add test.
This commit is contained in:
Ludovic Courtès
2012-11-13 22:57:50 +01:00
parent ecdb81e159
commit 352ec143de
3 changed files with 20 additions and 9 deletions

View File

@@ -31,3 +31,6 @@ then false; else true; fi
if guix-download not/a/uri;
then false; else true; fi
# This one should succeed.
guix-download "file://$abs_top_srcdir/README"