diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2017-08-19 20:41:44 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2017-08-20 20:55:45 +0800 |
commit | a02967d77af03d6468e25d6e26dbea0db919ce96 (patch) | |
tree | 66ca3cdddb4ccbb37a0f053fcbd9af95ca1f0e30 /gnu/packages | |
parent | 6d7d9d9507484773eff697a01f422ea984936373 (diff) | |
download | patches-a02967d77af03d6468e25d6e26dbea0db919ce96.tar patches-a02967d77af03d6468e25d6e26dbea0db919ce96.tar.gz |
guix download: Support retrieving local file without the URI scheme.
* guix/scripts/download.scm (guix-download): Treat the URL argument as a local
file path when it fails on 'string->uri'. Call 'fetch' with the processed
'uri' instead of the original URL argument.
* tests/guix-download.sh: Adjust accordingly.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions