mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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
This commit is contained in:
parent
10fafe2125
commit
f0568c2228
@ -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
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
let repos = [
|
||||
"https://repo.clojars.org/"
|
||||
"https://repo1.maven.org/"
|
||||
"http://oss.sonatype.org/content/repositories/releases/"
|
||||
"http://oss.sonatype.org/content/repositories/public/"
|
||||
"http://repo.typesafe.com/typesafe/releases/"
|
||||
"https://oss.sonatype.org/content/repositories/releases/"
|
||||
"https://oss.sonatype.org/content/repositories/public/"
|
||||
"https://repo.typesafe.com/typesafe/releases/"
|
||||
];
|
||||
|
||||
in rec {
|
||||
|
Loading…
Reference in New Issue
Block a user