Eelco Dolstra
f337ab4430
fetchurl: Remove some compatibility hacks
2013-02-06 15:00:33 +01:00
Eelco Dolstra
5bb548d2e4
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-01-17 14:19:14 +01:00
Eelco Dolstra
7fd42a8380
Get rid of the "sf" alias for "sourceforge"
2013-01-14 12:00:32 +01:00
Eelco Dolstra
080f1af51f
Remove savannah mirror that seems to hang
2012-12-29 01:55:00 +01:00
Eelco Dolstra
88dcdc9bed
postgresql: Update to latest versions
2012-12-11 14:08:41 +01:00
Peter Simons
966b4c336d
mirrors.nix: use GNU mirrors before hitting the master site
...
Our first download URL of choice is http://ftpmirror.gnu.org/ , which is an
automatic re-director.
2012-08-22 14:28:50 +02:00
Eelco Dolstra
1baf48f087
Do some let-floating to prevent repeated evaluation of impureEnvVars
2012-08-13 15:15:16 -04:00
Peter Simons
5c1b0582d2
build-support/fetchurl/mirrors.nix: add funet.fi to more mirrors
...
Committed on behalf of Ilja Honkonen <ilja.honkonen@helsinki.fi>.
svn path=/nixpkgs/trunk/; revision=33946
2012-04-29 18:17:50 +00:00
Eelco Dolstra
8fb94bace5
* Remove some obsolete kernel.org mirrors.
...
svn path=/nixpkgs/trunk/; revision=33609
2012-04-05 09:12:38 +00:00
Yury G. Kudryashov
b3709689db
Add modemmanager
...
svn path=/nixpkgs/trunk/; revision=31263
2012-01-04 09:05:22 +00:00
Lluís Batlle i Rossell
faafa3513a
Adding a kernel mirror that at least has the module-init-tools of nixpkgs.
...
svn path=/nixpkgs/trunk/; revision=30020
2011-10-25 17:46:39 +00:00
Ludovic Courtès
d4a560845d
Make `ftp.gnu.org' the first site for GNU stuff.
...
svn path=/nixpkgs/trunk/; revision=29976
2011-10-22 21:55:04 +00:00
Shea Levy
9f3fb4b1ae
Add a working kernel.org mirror
...
svn path=/nixpkgs/trunk/; revision=29541
2011-09-29 20:57:47 +00:00
Yury G. Kudryashov
c130be537b
Add fetchurl_gnome wrapper
...
It just creates correct mirror://gnome/sources/... URL.
svn path=/nixpkgs/trunk/; revision=29377
2011-09-20 06:21:46 +00:00
Peter Simons
a08329b7bb
pkgs/build-support/fetchurl/mirrors.nix: strip trailing whitespace
...
svn path=/nixpkgs/trunk/; revision=29360
2011-09-19 18:25:51 +00:00
Peter Simons
cc1ea39580
Added kernel.org mirror at tu-dresden.de to the list, which is currently reachable (unlike the kernel.org domain).
...
svn path=/nixpkgs/trunk/; revision=29359
2011-09-19 18:25:47 +00:00
Eelco Dolstra
8782b43c45
* Another mirror for old openSUSE releases.
...
svn path=/nixpkgs/trunk/; revision=28388
2011-08-08 13:58:52 +00:00
Lluís Batlle i Rossell
ee8b05eb70
Adding 'wakelan', to use UDP wake on lan on ethernet.
...
svn path=/nixpkgs/trunk/; revision=26912
2011-04-20 20:55:46 +00:00
Eelco Dolstra
4b50191fd4
* Remove a not very useful message that didn't get printed anyway
...
because the test condition was wrong.
svn path=/nixpkgs/trunk/; revision=26147
2011-03-03 14:59:58 +00:00
Yury G. Kudryashov
f736995e07
Prefer upstream mirror system to our hand-written mirror list.
...
svn path=/nixpkgs/trunk/; revision=25863
2011-02-09 21:09:48 +00:00
Lluís Batlle i Rossell
fca582bff0
Updating from trunk. I had to resolve the pcre and some stdenv2 in all-packages
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=24155
2010-10-07 21:21:31 +00:00
Eelco Dolstra
17670a5412
* Add some openSUSE mirrors that still have 10.3 and 11.0.
...
svn path=/nixpkgs/trunk/; revision=24053
2010-10-04 14:30:34 +00:00
Lluís Batlle i Rossell
46082f25f9
Updating from trunk
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=23027
2010-08-07 20:14:04 +00:00
Lluís Batlle i Rossell
229883730e
Removing some nongnu mirrors that don't work for me.
...
Feel free to check them back in if they work for you.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22978
2010-08-05 22:02:13 +00:00
Eelco Dolstra
aded38809b
* Turn on `preferLocalBuild' for fetchurl.
...
svn path=/nixpkgs/trunk/; revision=22948
2010-08-04 12:37:03 +00:00
Eelco Dolstra
12ede4793f
* Add ftp-archives.postgresql.org as a fallback for PostgreSQL
...
downloads.
* PostgreSQL updated to 8.3.11, 8.4.4.
svn path=/nixpkgs/trunk/; revision=22365
2010-06-21 20:43:05 +00:00
Eelco Dolstra
3962afb3a7
* Add a fallback for Debian releases (in particular `etch').
...
svn path=/nixpkgs/trunk/; revision=22355
2010-06-21 12:19:34 +00:00
Eelco Dolstra
7a1dde5d25
* Fix the download of discontinued openSUSE releases.
...
svn path=/nixpkgs/trunk/; revision=22324
2010-06-18 11:49:57 +00:00
Eelco Dolstra
b49f21d5e8
* Add a fallback mirror for very old Ubuntu releases.
...
svn path=/nixpkgs/trunk/; revision=22262
2010-06-14 17:22:56 +00:00
Yury G. Kudryashov
c74d23dbdf
Fix typo, thanks to Rob Vermaas
...
svn path=/nixpkgs/trunk/; revision=22031
2010-05-28 06:49:32 +00:00
Yury G. Kudryashov
952bc80b4d
Let fetchurl retry failed downloads. Add NIX_CURL_FLAGS impure var
...
svn path=/nixpkgs/trunk/; revision=22006
2010-05-27 18:59:19 +00:00
Yury G. Kudryashov
796ffd9f71
Move "fetchurl restricted" code to requireFile.
...
This reverts r21474 and r21467.
Also migrate wtk (r21472) to new API.
svn path=/nixpkgs/trunk/; revision=21575
2010-05-03 09:13:17 +00:00
Yury G. Kudryashov
3e1e56e10c
fetchurl restricted: list nix-prefetch-url as well
...
svn path=/nixpkgs/trunk/; revision=21474
2010-05-01 07:07:36 +00:00
Yury G. Kudryashov
404c314412
Add support for restricted downloads
...
svn path=/nixpkgs/trunk/; revision=21467
2010-04-30 20:40:42 +00:00
Eelco Dolstra
aee659e1e2
* Fix various broken URLs / mirrors.
...
* Updated tcpdump, ImageMagick, lsof.
svn path=/nixpkgs/trunk/; revision=19847
2010-02-05 22:00:51 +00:00
Ludovic Courtès
2bbaf039da
fetchurl: Improve GNU mirror list.
...
svn path=/nixpkgs/trunk/; revision=18416
2009-11-18 13:18:28 +00:00
Eelco Dolstra
18a08aa008
* Add an openSUSE mirror that contains discontinued releases (such as
...
10.3).
svn path=/nixpkgs/trunk/; revision=18385
2009-11-17 14:26:42 +00:00
Eelco Dolstra
c5b198300d
* Postgres updated to 8.3.8 and 8.4.1. Dropped the "with args" and
...
"version" argument. Added a few Postgres mirrors.
svn path=/nixpkgs/trunk/; revision=17804
2009-10-14 14:38:16 +00:00
Ludovic Courtès
a5945916f0
More Apache mirrors; use them for Ant.
...
svn path=/nixpkgs/trunk/; revision=17563
2009-10-01 09:07:09 +00:00
Michael Raskin
72919919a9
Add a Gentoo mirror
...
svn path=/nixpkgs/trunk/; revision=17554
2009-09-30 13:13:39 +00:00
Ludovic Courtès
fbd9fd14e6
Add more GNOME mirrors.
...
svn path=/nixpkgs/trunk/; revision=17553
2009-09-30 13:11:24 +00:00
Marc Weber
ec0e356b9a
Revert "adding NIX_CONTINUE_DOWNLOADS feature, see mkdir comment"
...
This reverts commit -r16401
svn path=/nixpkgs/trunk/; revision=16405
2009-07-16 17:17:23 +00:00
Marc Weber
10f6c2592c
adding NIX_CONTINUE_DOWNLOADS feature, see mkdir comment
...
svn path=/nixpkgs/trunk/; revision=16401
2009-07-16 15:18:26 +00:00
Michael Raskin
f067828cdc
Allow question marks in URL...
...
svn path=/nixpkgs/trunk/; revision=15507
2009-05-08 17:00:33 +00:00
Eelco Dolstra
21c3b6264b
* Add the CPAN master site as a fallback.
...
svn path=/nixpkgs/trunk/; revision=14863
2009-04-03 15:51:39 +00:00
Eelco Dolstra
37a216ee19
* Backported the GCC mirrors from the stdenv branch.
...
svn path=/nixpkgs/trunk/; revision=14784
2009-03-30 14:41:50 +00:00
Eelco Dolstra
199155087e
* A Gentoo mirror disappeared.
...
svn path=/nixpkgs/trunk/; revision=14499
2009-03-10 21:00:07 +00:00
Eelco Dolstra
eb28d380c3
* Removed broken mirror.
...
svn path=/nixpkgs/trunk/; revision=14141
2009-02-20 15:39:13 +00:00
Eelco Dolstra
aa84bce64d
* Get rid of all references to nix.cs.uu.nl.
...
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
b5e0436e5c
* Drop prdownloads.sourceforge.net down the list, it tends to have
...
connection problems.
svn path=/nixpkgs/trunk/; revision=13159
2008-10-30 12:54:28 +00:00
Ludovic Courtès
d96a0e14d7
fetchurl: Add Debian mirrors.
...
svn path=/nixpkgs/trunk/; revision=13010
2008-10-08 18:42:44 +00:00
Eelco Dolstra
9fdecb1296
* mirror://apache/.
...
svn path=/nixpkgs/trunk/; revision=12968
2008-10-06 12:58:21 +00:00
Eelco Dolstra
4138945727
* X.org mirrors.
...
svn path=/nixpkgs/trunk/; revision=12967
2008-10-06 12:38:45 +00:00
Ludovic Courtès
8f0dab06ec
Add GnuPG mirrors, use them.
...
svn path=/nixpkgs/trunk/; revision=12832
2008-09-09 09:06:01 +00:00
Eelco Dolstra
4632fa1449
* Mirrors for ancient SUSE releases.
...
svn path=/nixpkgs/trunk/; revision=12821
2008-09-08 07:44:43 +00:00
Eelco Dolstra
bb0f036205
* Fallback for old Fedora releases.
...
svn path=/nixpkgs/trunk/; revision=12797
2008-09-04 09:44:40 +00:00
Ludovic Courtès
df4363229d
Add tcpdump mirrors.
...
svn path=/nixpkgs/trunk/; revision=12779
2008-09-01 12:58:24 +00:00
Eelco Dolstra
3d6376be35
* nix.cs.uu.nl -> nixos.org.
...
svn path=/nixpkgs/trunk/; revision=12709
2008-08-25 15:00:29 +00:00
Eelco Dolstra
eebb241519
* Write the list of mirrors to a file that we can reuse between
...
fetchurl instantiations, instead of passing the mirrors to fetchurl
instantiations via environment variables. This makes the resulting
store derivations (.drv files) much smaller, which in turn makes
nix-env/nix-instantiate faster (4.8 -> 4.2 seconds on nix-env -qa
--out-path).
svn path=/nixpkgs/trunk/; revision=12695
2008-08-22 15:53:21 +00:00
Eelco Dolstra
a7c209e474
* Interface to support mirror:// in nix-prefetch-url. The function
...
resolveMirrorURLs produces a file containing the URLs to which a
mirror:// URL resolves.
svn path=/nixpkgs/trunk/; revision=12410
2008-07-23 16:04:10 +00:00
Eelco Dolstra
fc5eebdf8b
* Merged the stdenv branch
...
(https://svn.nixos.org/repos/nix/nixpkgs/branches/stdenv-updates
-r10966:12061).
svn path=/nixpkgs/trunk/; revision=12073
2008-06-13 11:46:39 +00:00
Eelco Dolstra
75222355db
* Image generation for openSUSE 10.3.
...
svn path=/nixpkgs/trunk/; revision=11570
2008-04-11 11:52:40 +00:00
Eelco Dolstra
cde64235b3
* mirror://fedora.
...
svn path=/nixpkgs/trunk/; revision=11504
2008-04-09 07:36:33 +00:00
Eelco Dolstra
842eda63f8
* Nasty hacks to get dpkg to set the architecture correctly.
...
svn path=/nixpkgs/trunk/; revision=11100
2008-03-13 14:58:17 +00:00
Eelco Dolstra
d8745d57b2
* mirror://debian: stripped the /pool part; there are other Debian
...
files that can be useful.
* mirror://ubuntu.
svn path=/nixpkgs/trunk/; revision=11097
2008-03-13 13:31:39 +00:00
Eelco Dolstra
7ba8833f14
* mirror://gnome/ scheme.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=11016
2008-03-07 15:40:26 +00:00
Michael Raskin
2a583e6f73
Added some Debian mirrors
...
svn path=/nixpkgs/trunk/; revision=10905
2008-03-02 14:55:43 +00:00
Eelco Dolstra
af40c15c30
* Use CPAN mirrors.
...
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10806
2008-02-21 15:52:31 +00:00
Ludovic Courtès
93c4507257
Add ImageMagick mirrors, suggested by Nicolas Pierron.
...
svn path=/nixpkgs/trunk/; revision=10717
2008-02-17 19:02:56 +00:00
Ludovic Courtès
5f8dd658cb
Add BitlBee, an IRC to other chat networks gateway.
...
svn path=/nixpkgs/trunk/; revision=10715
2008-02-17 15:33:04 +00:00
Michael Raskin
39685ab2d1
Added Savannah mirror list (source suggested by Ludovic Court\`es)
...
svn path=/nixpkgs/trunk/; revision=10509
2008-02-05 19:20:53 +00:00
Eelco Dolstra
cc1db9ac88
* mirror:// for Gentoo distfiles.
...
svn path=/nixpkgs/trunk/; revision=10174
2008-01-16 13:26:34 +00:00
Yury G. Kudryashov
53bd841c1b
mirrors: sf: alias for sourceforge
...
svn path=/nixpkgs/trunk/; revision=9356
2007-09-22 19:59:31 +00:00
Eelco Dolstra
23f2a18677
* KDE 3.5.7.
...
* Mirror scheme "mirror://kde/".
svn path=/nixpkgs/trunk/; revision=9353
2007-09-21 13:07:25 +00:00
Eelco Dolstra
76a8d120a4
* Allow the user to override the list of mirrors for specific
...
mirror:// sites through environment variables, e.g.
NIX_MIRRORS_gnu="ftp://ftp.nluug.nl/pub/gnu/ ftp://ftp.gnu.org/pub/gnu/"
or
NIX_MIRRORS_sourceforge="http://surfnet.dl.sourceforge.net/sourceforge/ "
svn path=/nixpkgs/trunk/; revision=9302
2007-09-11 15:00:49 +00:00
Eelco Dolstra
6c4fd2e3df
* Allow the user to override the list of content-addressable mirrors
...
from the command-line by setting the NIX_HASHED_MIRRORS environment
variable.
svn path=/nixpkgs/trunk/; revision=9301
2007-09-11 13:48:53 +00:00
Eelco Dolstra
45a2c87402
* Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of
...
fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2 ;
md5 = "8306775c6a11de4d72345b5eee970ea6";
};
you can write
fetchurl {
url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
md5 = "8306775c6a11de4d72345b5eee970ea6";
};
which causes fetchurl to try the SourceForge mirrors listed in the
`sourceforge' attribute in build-support/fetchurl/mirrors.nix.
(They're currently tried in sequence, and the lists of mirrors are
not configurable yet.)
The syntax for mirror URLs is mirror://site/path/to/file, where
`site' is currently one of `sourceforge', `gnu' (mirrors of
ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of
http://www.all.kernel.org/pub/ ).
svn path=/nixpkgs/trunk/; revision=9197
2007-08-27 12:44:01 +00:00
Eelco Dolstra
50321b735b
* Basic transparent mirror support in fetchurl (NIXPKGS-70). When
...
fetching a file with hash HASH of type TYPE, we first try to
download <base-url>/<type>/<hash>, where <base-url> is one of a list
of mirrors. For instance, given
src = fetchurl {
url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.6/source/firefox-2.0.0.6-source.tar.bz2 ;
sha1 = "eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082";
};
and the mirror list [http://nix.cs.uu.nl/dist/tarballs ], we first
try to download
eb72f55e4a
and if that fails, we use the original URL.
The list of mirrors is not yet user-configurable.
* `fetchurl' now also accepts an argument `urls' instead of `url' for
a list of alternative download locations, which fetchurl will try in
sequence.
svn path=/nixpkgs/trunk/; revision=9190
2007-08-23 15:22:30 +00:00
Eelco Dolstra
2d33b25877
* fetchurl: accept an optional name. Useful for file names that contain
...
unacceptable characters (such as ? on Windows).
svn path=/nixpkgs/trunk/; revision=8149
2007-03-02 19:07:36 +00:00
Eelco Dolstra
f59f5d7d96
* Handle weird cases when the server redirects us while setting a
...
cookie.
svn path=/nixpkgs/trunk/; revision=7352
2006-12-15 21:28:59 +00:00
Eelco Dolstra
f95a93197a
* Don't use EPSV.
...
svn path=/nixpkgs/trunk/; revision=6894
2006-10-28 22:07:25 +00:00
Eelco Dolstra
bb93fa69fa
* fetchurl: use standard proxy-related variables from the caller such
...
as `http_proxy'.
svn path=/nixpkgs/trunk/; revision=5347
2006-05-31 09:52:39 +00:00
Eelco Dolstra
82e678362f
* "." -> "source".
...
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra
44a1f60787
* md5' ->
id' in compatibility mode.
...
svn path=/nixpkgs/trunk/; revision=2273
2005-02-22 15:34:58 +00:00
Eelco Dolstra
4eba4a211e
* Check the hash, but only on Nix <= 0.7.
...
svn path=/nixpkgs/trunk/; revision=2272
2005-02-22 15:23:56 +00:00
Eelco Dolstra
cdaecff49f
* Use Nix 0.8-style fixed outputs.
...
svn path=/nixpkgs/trunk/; revision=2257
2005-02-21 15:52:37 +00:00
Eelco Dolstra
7bf54b734e
* Follow redirects.
...
svn path=/nixpkgs/trunk/; revision=899
2004-04-01 19:10:37 +00:00
Eelco Dolstra
ab7af4709a
* Add `--fail' to curl invocation to catch errors.
...
svn path=/nixpkgs/trunk/; revision=889
2004-04-01 12:23:02 +00:00
Eelco Dolstra
12ae5363ea
* Remove trivial builders.
...
* Make builders unexecutable by removing the hash-bang line and
execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
`mkDerivation'. These transformations were all done automatically,
so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.
svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
4df6ec860c
* Typo fix.
...
svn path=/nixpkgs/trunk/; revision=850
2004-03-27 15:44:05 +00:00
Eelco Dolstra
5941f66f0e
* The stdenv setup script now defines a generic builder that allows
...
builders for typical Autoconf-style to be much shorten, e.g.,
. $stdenv/setup
genericBuild
The generic builder does lots of stuff automatically:
- Unpacks source archives specified by $src or $srcs (it knows about
gzip, bzip2, tar, zip, and unpacked source trees).
- Determines the source tree.
- Applies patches specified by $patches.
- Fixes libtool not to search for libraries in /lib etc.
- Runs `configure'.
- Runs `make'.
- Runs `make install'.
- Strips debug information from static libraries.
- Writes nested log information (in the format accepted by
`log2xml').
There are also lots of hooks and variables to customise the generic
builder. See `stdenv/generic/docs.txt'.
* Adapted the base packages (i.e., the ones used by stdenv) to use the
generic builder.
* We now use `curl' instead of `wget' to download files in `fetchurl'.
* Neither `curl' nor `wget' are part of stdenv. We shouldn't
encourage people to download stuff in builders (impure!).
* Updated some packages.
* `buildinputs' is now `buildInputs' (but the old name also works).
* `findInputs' in the setup script now prevents inputs from being
processed multiple times (which could happen, e.g., if an input was
a propagated input of several other inputs; this caused the size
variables like $PATH to blow up exponentially in the worst case).
* Patched GNU Make to write nested log information in the format
accepted by `log2xml'. Also, prior to writing the build command,
Make now writes a line `building X' to indicate what is being
built. This is unfortunately often obscured by the gigantic tool
invocations in many Makefiles. The actual build commands are marked
`unimportant' so that they don't clutter pages generated by
`log2html'.
svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra
38bc744a0b
* Use md5sum instead of nix-hash.
...
svn path=/nixpkgs/trunk/; revision=584
2003-12-21 16:00:17 +00:00
Eelco Dolstra
026ff9466a
* Rename .fix -> .nix.
...
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51
* Renamed pkgs-ng to pkgs.
...
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00