3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
Peter Simons b579f4fd5c ghc-7.0.2: fix build on Darwin
There were two problems preventing GHC 7.0.2 from being built on MacOS. For
one, the 'configure' script automatically added the flag

  -isysroot /Developer/SDKs/MacOSX10.5.sdk

to the command-line that's being passed to GCC. This setting doesn't work with
our GCC, and resulted in build errors because standard headers like <stdargs.h>
could no longer be found.

Secondly, the build depends on install_name_tool, which has been added as a
buildInput.

These changes trigger a re-build on all platforms, not just on Darwin. I
realize that this could have been avoided by adding some cruft. However, I
didn't want to add cruft, so there you are.

svn path=/nixpkgs/trunk/; revision=26513
2011-03-25 12:55:37 +00:00
..
compilers ghc-7.0.2: fix build on Darwin 2011-03-25 12:55:37 +00:00
eclipse update ecj version 2010-11-22 14:50:52 +00:00
guile-modules GNU Guile-Ncurses 1.3. 2011-02-04 08:40:33 +00:00
interpreters Adding J language 2011-03-17 15:36:38 +00:00
libraries libarchive: don't try to build e2fsprogs, attr, or acl unless running on Linux 2011-03-25 12:55:22 +00:00
misc
ocaml-modules Matita and its dependencies. 2010-12-31 17:48:55 +00:00
perl-modules Add Nix expression for Perl module SQL::Translator ( also known 2010-11-27 20:54:35 +00:00
python-modules * Revert PyQt and sip because the upgrade breaks KDE, but use 2011-03-04 19:57:52 +00:00
ruby-modules Rake: Fix build. Patch by Ilya Cassina. 2010-10-26 01:15:42 +00:00
tools cmake: updated meta.platforms to reflect the fact that CMake is supposed to build on all Unix-like platforms 2011-03-25 12:55:33 +00:00