mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02: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 a new issue