diff options
author | Robert Hensing <robert@roberthensing.nl> | 2020-12-11 11:43:23 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2020-12-11 11:43:23 +0100 |
commit | f0568c22282c9fdb56172597225bb54bb75afaff (patch) | |
tree | c4abda2d129d273ec8a24c773a2a94b7f16d84ff /pkgs/build-support | |
parent | 10fafe2125bab693fcbccd8f0cd480cee219b040 (diff) |
fetchMavenArtifact: switch mirrors to https
Maven repositories are disabling HTTP support for security.
Even though Nix adds some security with its own hash validation,
broken mirrors are a, well, suboptimal experience.
I don't know of any plans by sonatype, but it seems like a matter
of time.
https://www.lightbend.com/blog/lightbend-to-require-https-on-repos-starting-august-5-2020
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchmavenartifact/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/build-support/fetchmavenartifact/default.nix b/pkgs/build-support/fetchmavenartifact/default.nix index 42ad7603a8f7..b1482a3578b2 100644 --- a/pkgs/build-support/fetchmavenartifact/default.nix +++ b/pkgs/build-support/fetchmavenartifact/default.nix @@ -3,10 +3,10 @@ { fetchurl, stdenv }: let defaultRepos = [ - "http://repo1.maven.org/maven2" - "http://oss.sonatype.org/content/repositories/releases" - "http://oss.sonatype.org/content/repositories/public" - "http://repo.typesafe.com/typesafe/releases" + "https://repo1.maven.org/maven2" + "https://oss.sonatype.org/content/repositories/releases" + "https://oss.sonatype.org/content/repositories/public" + "https://repo.typesafe.com/typesafe/releases" ]; in |