blob: 47d81c6e6ac88d347099ba883dbeb9c57ff1dd6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ stdenv, fetchurl, noSysDirs
, langC ? true, langCC ? true, langF77 ? false
, profiledCompiler ? false
}:
assert langC;
assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "gcc-4.0.1-apple-5341";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/gcc-5341.tar.gz;
md5 = "a135f107ddc55b773b40dfff4f049640";
};
patches =
[./pass-cxxcpp.patch]
++ (if noSysDirs then [./no-sys-dirs.patch] else []);
inherit noSysDirs langC langCC langF77 profiledCompiler;
}
|