1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/top-level
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
..
all-packages.nix perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-02 16:26:05 +00:00
guile-2-test.nix guile-2-test: Add GnuCash. 2009-09-30 13:11:20 +00:00
haskell-packages.nix Added transformers package for Haskell. 2009-10-02 09:32:40 +00:00
make-tarball.nix
mingw.nix
perl-packages.nix
python-packages.nix
release.nix svn path=/nixpkgs/trunk/; revision=17598 2009-10-02 12:36:04 +00:00