nixpkgs/pkgs/stdenv/linux/scripts/download.sh
Eelco Dolstra 779b4b2448 * Use GCC 4.3 by default.
* Updated stdenv-linux:

  - The bootstrap tools are no longer statically linked (except for
    binaries in the Nixpkgs tree used to download and unpack the
    bootstrap tools).

  - x86_64 uses the same static binaries as i686.  This makes the
    Nixpkgs tree a bit smaller.

  - Use the Linux 2.6.28 headers.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13946
2009-02-01 21:44:56 +00:00

9 lines
161 B
Bash

set -e
$ln -s $curl curl.bz2
$bzip2 -d -f curl.bz2
./curl --version
echo "downloading $out from $url"
./curl --fail --location --max-redirs 20 "$url" > "$out"