diff --git a/pkgs-ng/stdenv/nix/path.fix b/pkgs-ng/stdenv/nix/path.fix index 883130dfc399..7a801856a7f6 100644 --- a/pkgs-ng/stdenv/nix/path.fix +++ b/pkgs-ng/stdenv/nix/path.fix @@ -8,6 +8,7 @@ pkgs.gnutar pkgs.gzip pkgs.bzip2 + pkgs.wget pkgs.binutils pkgs.gnumake pkgs.gcc diff --git a/pkgs-ng/system/all-packages-generic.fix b/pkgs-ng/system/all-packages-generic.fix index 85186e973254..57d416bf82e7 100644 --- a/pkgs-ng/system/all-packages-generic.fix +++ b/pkgs-ng/system/all-packages-generic.fix @@ -59,6 +59,11 @@ stdenv = stdenv; }; + wget = (import ../tools/networking/wget) { + fetchurl = fetchurl; + stdenv = stdenv; + }; + ### SHELLS diff --git a/pkgs-ng/tools/networking/wget/builder.sh b/pkgs-ng/tools/networking/wget/builder.sh new file mode 100755 index 000000000000..9523d7e9ca82 --- /dev/null +++ b/pkgs-ng/tools/networking/wget/builder.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd wget-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs-ng/tools/networking/wget/default.fix b/pkgs-ng/tools/networking/wget/default.fix new file mode 100644 index 000000000000..259f7dfa62d1 --- /dev/null +++ b/pkgs-ng/tools/networking/wget/default.fix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation { + name = "wget-1.9"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.nluug.nl/pub/gnu/wget/wget-1.9.tar.gz; + md5 = "18ac093db70801b210152dd69b4ef08a"; + }; + stdenv = stdenv; +}