mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
544cb9cb83
svn path=/nixpkgs/trunk/; revision=9201
18 lines
401 B
Nix
18 lines
401 B
Nix
{ stdenv, fetchurl, noSysDirs
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
}:
|
|
|
|
assert langC;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gcc-2.95.3";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = mirror://gnu/gcc/gcc-2.95.3.tar.gz;
|
|
md5 = "f3ad4f32c2296fad758ed051b5ac8e28";
|
|
};
|
|
# !!! apply only if noSysDirs is set
|
|
patches = [./no-sys-dirs.patch];
|
|
inherit noSysDirs langC langCC langF77;
|
|
}
|