1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/top-level
Peter Simons 1e575d3572 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/gcc can do that, but
the gcc from Nix can't.

The solution is to compile Perl 5.10 in Nix so that the ./configure
phase can properly detect the system's capabilities. However, note that
the resulting binary is impure: it will find headers in /usr/include and
libraries in /usr/lib. In this respect, the Nix-compiled perl binary is
no different than the native one in /usr/bin -- it's just configured
more accurately.

svn path=/nixpkgs/trunk/; revision=17870
2009-10-19 09:17:10 +00:00
..
all-packages.nix perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-19 09:17:10 +00:00
guile-2-test.nix guile-2-test: Add guile-gnome. 2009-10-05 22:21:55 +00:00
haskell-packages.nix Added uniqueid Haskell package. 2009-10-09 13:30:52 +00:00
make-tarball.nix * Use --meta --xml to check whether the meta attributes all evaluate 2009-10-13 09:05:09 +00:00
mingw.nix * Remove execute permission. 2006-09-11 13:37:46 +00:00
perl-packages.nix Made ikiwiki work at least using 'git'. I tested the CGI this time. 2009-10-15 22:08:35 +00:00
python-packages.nix adding python package lxml to make scripts in inkscape work 2009-10-18 04:43:40 +00:00
release.nix Added VirtualBox guest additions 2009-10-15 09:11:25 +00:00