mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
parent
6932a75d9c
commit
157f392f57
@ -4,7 +4,7 @@ header "fetching Apache Mesos maven repo"
|
||||
function fetchArtifact {
|
||||
repoPath="$1"
|
||||
echo "Fetching $repoPath"
|
||||
url="http://repo.maven.apache.org/maven2/$repoPath"
|
||||
url="https://repo.maven.apache.org/maven2/$repoPath"
|
||||
mkdir -p $(dirname $out/$repoPath)
|
||||
curl --fail --location --insecure --retry 3 --max-redirs 20 "$url" --output "$out/$repoPath"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user