summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2017-08-19 20:41:44 +0800
committer宋文武 <iyzsong@member.fsf.org>2017-08-20 20:55:45 +0800
commita02967d77af03d6468e25d6e26dbea0db919ce96 (patch)
tree66ca3cdddb4ccbb37a0f053fcbd9af95ca1f0e30 /gnu/packages
parent6d7d9d9507484773eff697a01f422ea984936373 (diff)
downloadpatches-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