Python 3.5: use system expat and ffi
This commit is contained in:
parent
dd3a501a4b
commit
14a88e76cf
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch
|
{ stdenv, fetchurl, fetchpatch
|
||||||
, bzip2
|
, bzip2
|
||||||
|
, expat
|
||||||
|
, libffi
|
||||||
, gdbm
|
, gdbm
|
||||||
, lzma
|
, lzma
|
||||||
, ncurses
|
, ncurses
|
||||||
@ -32,7 +34,7 @@ let
|
|||||||
sitePackages = "lib/${libPrefix}/site-packages";
|
sitePackages = "lib/${libPrefix}/site-packages";
|
||||||
|
|
||||||
buildInputs = filter (p: p != null) [
|
buildInputs = filter (p: p != null) [
|
||||||
zlib bzip2 lzma gdbm sqlite readline ncurses openssl ]
|
zlib bzip2 expat lzma libffi gdbm sqlite readline ncurses openssl ]
|
||||||
++ optionals x11Support [ tcl tk libX11 xproto ]
|
++ optionals x11Support [ tcl tk libX11 xproto ]
|
||||||
++ optionals stdenv.isDarwin [ CF configd ];
|
++ optionals stdenv.isDarwin [ CF configd ];
|
||||||
|
|
||||||
@ -86,6 +88,8 @@ in stdenv.mkDerivation {
|
|||||||
"--enable-shared"
|
"--enable-shared"
|
||||||
"--with-threads"
|
"--with-threads"
|
||||||
"--without-ensurepip"
|
"--without-ensurepip"
|
||||||
|
"--with-system-expat"
|
||||||
|
"--with-system-ffi"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user