diff --git a/pkgs/stdenv/nix-linux/gcc-static/builder.sh b/pkgs/stdenv/nix-linux/gcc-static/builder.sh new file mode 100644 index 000000000000..982d72541063 --- /dev/null +++ b/pkgs/stdenv/nix-linux/gcc-static/builder.sh @@ -0,0 +1,5 @@ +. $stdenv/setup + +tar zxvf $src +mkdir $out +cp -a gcc-3.3.4/* $out diff --git a/pkgs/stdenv/nix-linux/gcc-static/default.nix b/pkgs/stdenv/nix-linux/gcc-static/default.nix new file mode 100644 index 000000000000..04dc2ae75b25 --- /dev/null +++ b/pkgs/stdenv/nix-linux/gcc-static/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "gcc-static-3.3.4"; + builder = ./builder.sh; + src = fetchurl { + url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/gcc-3.3.4-static-nix.tar.gz; + md5 = "8b5c3a5881209edb15682e5e0c7459e4"; + }; +}