illustris
6701dd6a4d
mirrors: add recommended apache mirror
2 years ago
Sandro Jäckel
a67950f20b
fetchurl: passthru url
2 years ago
Alyssa Ross
da450f6b1d
treewide: clean up obsolete version checks
...
These checks are all redundant with the check for Nix ≥2.2 in
default.nix.
2 years ago
AndersonTorres
b988e9a1f9
pkgs/build-support/fetchurl/mirrors.nix: remove metalab
2 years ago
AndersonTorres
667902897a
pkgs/build-support/fetchurl/mirrors.nix: add IBiblioPubLinux
...
It corresponds to old Metalab/Sunsite.
2 years ago
AndersonTorres
2d88a59de1
pkgs/build-support/fetchurl/mirrors.nix: add TCSH mirrors
2 years ago
AndersonTorres
953de20946
pkgs/build-support/fetchurl/mirrors.nix: reoder
2 years ago
Jonathan Ringer
24cbda98f3
fetchzip: remove need for overrideAttrs
2 years ago
Sandro
5f58402c94
fetchurl: also check certificate when using all zero hash ( #152608 )
3 years ago
Alyssa Ross
f508ae8894
mirrors: add kernel.org mirrors where appropriate
3 years ago
Alyssa Ross
4419e8ee8e
mirrors: prioritize HTTPS
3 years ago
Alyssa Ross
1b78d3720c
mirrors: use HTTPS where available
3 years ago
Alyssa Ross
246d34d57a
mirrors: remove inactive mirrors
3 years ago
Alyssa Ross
9c70596689
mirrors: update sunet base URLs
3 years ago
Arthur Gautier
1825aae278
mirrors: get a second mirror for metalab
...
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
3 years ago
Arthur Gautier
91db7bb1d0
mirrors: refresh the mirrors list
...
Some mirrors are gone, some migrated to http instead of ftp.
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
3 years ago
Arthur Gautier
9d143d5a3b
mirrors: oldsuse mirrors have been discontinued
...
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
3 years ago
Sandro
f150d0a6bd
fetchurl: replace dead sourceforge mirrors ( #130834 )
3 years ago
Léo Gaspard
b6933f88a5
fetchurl: add testpypi mirror ( #123146 )
...
This should make it easier to run nixpkgs-based tests from versions that
are still only on test-pypi, and should not cost anything significant.
3 years ago
Vladimír Čunát
e5ec487840
fetchurl: check that `url` is a string
...
Otherwise we (may) get a hard to debug issue in the tarball job,
e.g. see the grandparent commit.
3 years ago
Matthieu Coudron
3dd316723d
mirrors: fix lua mirrors
...
Seems like urls in mirrors must end up with a / otherwise download fails.
4 years ago
volth
54c4223e55
treewide: central.maven.org -> repo1.maven.org
4 years ago
Matthew Bauer
0046802ab6
fetchurl: only allow empty hash when cacert is available
...
We can use cacert to validate that the data passes SSL certificates.
Normally, this doesn’t happen because we already have the hash, but in
the hash = "" case we don’t.
4 years ago
Matthew Bauer
f2e9046de5
fetchurl: allow empty hash
...
Meant as a companion to https://github.com/NixOS/nix/pull/3674
This just resets outputHash if nothing is passed in.
4 years ago
Pavol Rusnak
7b0167204d
treewide: use https for nixos.org and hydra.nixos.org
...
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
4 years ago
Matthew Bauer
6367a55312
fetchurl: don’t run ‘postFetch’ on hashed-mirrors
...
hashed-mirrors are content addressed. So if $outputHash is in the
hashed-mirror, changes from ‘postFetch’ would already be made. So,
running postFetch will end up applying the change /again/, which we
don’t want.
4 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
Jonas Schürmann
61870727de
mirrors.nix: Use HTTPS in maven mirrors
...
Since 2020-01-15, the maven central repository does no longer support HTTP.
See https://blog.sonatype.com/central-repository-moving-to-https for details.
5 years ago
John Ericson
38ebb8ff82
fetchurl: Eliminate pointless cross differences
5 years ago
Matthieu Coudron
4d526d6fc6
fetchurl: add luarocks mirrors
...
luarocks defines by default the following mirrors:
83093e7da7/src/luarocks/core/cfg.lua (L205)
Let's add them to nixpkgs. I have modified luarocks-nix to generate the
proper nixpkgs urls.
I bump luarocks-nix in the following commits.
5 years ago
volth
08f68313a4
treewide: remove redundant rec
5 years ago
Josef Kemetmüller
bacf5619e2
mirrors: Add centos mirror ( #66537 )
...
This should remove the need to rename links from mirror.centos.org to
vault.centos.org as the removed comment mentions.
5 years ago
Nikolay Amiantov
e848ffe48c
fetchurl mirrors: move steamrt mirror to another host
...
This one is hosted in a cloud so hopefully incidents like
https://github.com/NixOS/nixpkgs/pull/66853 won't repeat.
5 years ago
Mario Rodas
2a86ffa8e2
mirrors: update apache mirrors
...
+ Add backup mirrors
+ Remove unreachable mirror wwwftp.ciril.fr
+ Use https on apache mirrors
5 years ago
Eelco Dolstra
267c8d6b2f
fetchurl (and derived functions): Support SRI hashes
...
E.g.
fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "ad42a784690449873fccb20192bd2150da81c56d";
hash = "sha256-ZXeadXUJMXV5lSLz6TOBeL/SSOVwQ8ywxU5AFMCnbRU=";
}
5 years ago
Ben Hipple
14a7161fa5
mirrors.nix: add alsa-project.org for alsa
...
Aside from being an HTTPS endpoint, this is the canonical mirror for alsa
project downloads.
5 years ago
Mario Rodas
b2e56ccea0
mirrors: add osdn mirrors
5 years ago
Mario Rodas
c0eaf5e917
mirrors: rename sourceforgejp to osdn
...
SourceForge.jp renamed to OSDN on May 11, 2015.
https://osdn.net/projects/sourceforge/news/24923
5 years ago
Matthew Bauer
eaa5e85b35
haskell: add more hackage mirrors, use mirrors in more places
...
Fixes #58971
5 years ago
Ben Hipple
0fb7c7af88
mirrorx.nix: add https and http mirrors for gcc
...
HTTP is never worse and often better than FTP, since many users may be on
networks that do not allow FTP traffic.
5 years ago
Jörg Thalheim
eac6797380
prefer-fetch-remote: an overlay to fetch on remote builders
...
This is useful when running tools like NixOps or nix-review
on workstations where the upload to the builder is significantly
slower then downloading the source on the builder itself.
6 years ago
Lengyel Balazs
d848495a9f
xorg: update mirrors to https and remove an outdated one
6 years ago
volth
a0d15a0c68
mirrors.nix: remove bad cpan mirrors
6 years ago
Benjamin Hipple
8dbc8e586c
fetchurl: refresh and add extra KDE mirrors
...
* fetchurl: fix and add extra KDE mirrors (#51480 )
- The gwdg.de mirror has moved the relative path of its KDE tarballs
- Add new mirrors from Berkeley and MIT, which are on the list of officially supported mirrors
https://download.kde.org/extra/download-mirrors.html
* More KDE mirror touchups
- The official one is a redirect to HTTPS anyways, so go directly to HTTPS
- Add China USTC for Asian users
- Swap Finland university from FTP to HTTP
* fetchurl: keep one ftp KDE mirror
6 years ago
Jan Malakhovski
8dcf831978
fetchurl: mirrors: http -> https, https before http, http before ftp
...
Because HTTP has a higher probability of working behind proxies.
6 years ago
Yegor Timoshenko
6fad2ae94b
fetchurl: warn on rev archives, resolves #32999
6 years ago
Timo Kaufmann
082169ab02
fetchurl: add sageupstream mirror
6 years ago
Yegor Timoshenko
f44012ba10
lib.release -> lib.trivial.release
6 years ago
Yegor Timoshenko
5a232b0f5b
Leverage lib.release
6 years ago
Yegor Timoshenko
a26d9e3ba8
Readd --retry 3
6 years ago