forked from mirrors/nixpkgs
90dd9d14bf
* Dropped "nolongdouble.patch". The patch no longer applies to Python 2.6, and apparently isn't required anymore either. * Added access to native Darwin arch utility. Python tries to run 'arch' in the configure stage, but that binary reside in /usr/bin. To make it available to the expression, the small wrapper darwinArchUtility is added as a buildInput if appropriate. * Don't pass --enable-shared. The build fails if we try to enable building of shared libraries, apparently because some required libraries aren't linked, i.e. the linker call isn't right. TODO: * Figure out how to enable shared linking. * The resulting binary on Darwin seem to lack the binascii module. svn path=/nixpkgs/trunk/; revision=17894
9 lines
118 B
Nix
9 lines
118 B
Nix
{stdenv}:
|
|
|
|
assert stdenv.isDarwin;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "darwin-arch-utility";
|
|
builder = ./builder.sh;
|
|
}
|