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