diff options
-rw-r--r-- | guix/build/download.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm index 307258be92..4259f52b7a 100644 --- a/guix/build/download.scm +++ b/guix/build/download.scm @@ -737,7 +737,8 @@ or #f." (append-map (lambda (make-url) (filter-map (match-lambda ((hash-algo . hash) - (string->uri (make-url file hash-algo hash)))) + (let ((file (strip-store-file-name file))) + (string->uri (make-url file hash-algo hash))))) hashes)) content-addressed-mirrors)) |