mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
download-from-binary-cache: strip trailing / from URLs
This commit is contained in:
parent
d694c599e2
commit
2a8e5c8b11
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use Nix::Store;
|
|||
use DBI;
|
||||
|
||||
|
||||
my @binaryCacheUrls = split / /, ($ENV{"NIX_BINARY_CACHES"} || "");
|
||||
my @binaryCacheUrls = map { s/\/+$//; $_ } split(/ /, ($ENV{"NIX_BINARY_CACHES"} || ""));
|
||||
|
||||
my ($dbh, $insertNAR, $queryNAR);
|
||||
my %cacheIds;
|
||||
|
|
Loading…
Reference in a new issue