diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-11 23:22:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-12 00:27:53 +0100 |
commit | e68466de122d94ac3fa75aae234cd5fd89482a5a (patch) | |
tree | b285a7f9729ccf430e4319276b151d00da279d7f /guix/build-system.scm | |
parent | 4dca1bae2767b049532e7434151686fdb7fab256 (diff) | |
download | guix-patches-e68466de122d94ac3fa75aae234cd5fd89482a5a.tar guix-patches-e68466de122d94ac3fa75aae234cd5fd89482a5a.tar.gz |
substitutes: Build correct narinfo URLs for cache URLs without trailing slash.
Fixes <https://issues.guix.gnu.org/51441>.
Reported by Z572 <873216071@qq.com> and Peng Mei Yu <pengmeiyu@riseup.net>.
Previously, passing '--substitute-urls=https://mirror.sjtu.edu.cn/guix',
without a trailing slash, would fail due to incorrectly constructed
narinfo URLs. Users would have to explicitly add a trailing slash.
* guix/substitutes.scm (narinfo-request): Ensure BASE has a trailing
slash.
Diffstat (limited to 'guix/build-system.scm')
0 files changed, 0 insertions, 0 deletions