forked from mirrors/nixpkgs
711bb9b56a
svn path=/nixpkgs/trunk/; revision=6904
18 lines
396 B
Nix
18 lines
396 B
Nix
{ stdenv, fetchurl, noSysDirs
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
}:
|
|
|
|
assert langC;
|
|
|
|
# !!! impurity: finds /usr/bin/as, /usr/bin/ranlib.
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gcc-3.3.6";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gcc-3.3.6.tar.bz2;
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
|
};
|
|
inherit noSysDirs langC langCC langF77;
|
|
}
|