My nixpkgs mirror for patching things.
Go to file
Peter Simons 67cea803fa perl-5.8 and perl-5.10: fixed build on MacOS X
On MacOS X, we used to use the native perl interpreter from /usr/bin.
Unfortunately, that interpreter fails to build a number of packages
(Subversion, Git, etc. ...), because it assumes knowledge about the underlying
C compiler that is not valid for the compiler used by Nix. For example,
/usr/bin/perl assumes that the compiler can build binaries for both the ppc and
the x86 architecture. /usr/bin/FCC can do that, but the gcc from Nix can't.

The solution is to compile Perl 5.10 via Nix so that it can properly configure
itself. However, note that the resulting binary is impure: it will find headers
in /usr/include and libraries in /usr/lib -- something a pure perl binary
wouldn't do. In this respect our Nix-compiled perl binary is not better than
the native one from /usr/bin -- it's just more accurately configured.

svn path=/nixpkgs/trunk/; revision=17618
2009-10-02 16:26:05 +00:00
doc * Moved the coding conventions from maintainers/docs to the Nixpkgs 2009-09-25 14:27:26 +00:00
maintainers * Moved the coding conventions from maintainers/docs to the Nixpkgs 2009-09-25 14:27:26 +00:00
pkgs perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-02 16:26:05 +00:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix * For convenience, provide a top-level Nix expression that simply 2007-04-26 14:32:57 +00:00
STABLE * Move stuff. 2005-02-21 16:05:33 +00:00
VERSION * Bumped the version number. 2009-04-24 21:59:56 +00:00