45a2c87402
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 |
||
---|---|---|
.. | ||
2.6.20-paravirt-nvidia.patch | ||
2.6.22-paravirt-nvidia.patch | ||
builder.sh | ||
config-2.6.20-i686-smp | ||
config-2.6.20-uml | ||
config-2.6.20-x86_64-smp | ||
config-2.6.21-i686-smp | ||
config-2.6.21-uml | ||
config-2.6.21-x86_64-smp | ||
config-2.6.22-i686-smp | ||
config-2.6.22-uml | ||
config-2.6.22-x86_64-smp | ||
linux-2.6.20.3-ext3cow.patch | ||
linux-2.6.20.nix | ||
linux-2.6.21.nix | ||
linux-2.6.22.nix | ||
README |
*** Updating the kernel configs *** - Copy the old Nix expression (e.g. linux-2.6.21.nix) to the new one (e.g. linux-2.6.22.nix) and update it. - Add an new attribute to all-packages.nix. For each platform (i686, x86-64, uml): - Make an svn copy from the old config (e.g. config-2.6.21-i686-smp) to the new one (e.g. (e.g. config-2.6.22-i686-smp). - Unpack the new kernel. - Copy the config file for this platform (e.g. config-2.6.22-i686-smp) to .config. - Run `make oldconfig', answer all questions. (For the uml configuration, add "ARCH=um SHELL=bash".) - Make sure that CONFIG_FB_TILEBLITTING is NOT SET (otherwise fbsplash won't work). If it is, investigate why (there's probably another option that forces it to be on) and fix it. - Copy .config to the new config file (e.g. config-2.6.21-i686-smp).