parent
1e370d7de4
commit
7f520bdad8
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, less, includeModules ? false
|
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, includeModules ? false
|
||||||
, sqlite, tcl, tk, xlibsWrapper, openssl, readline, db, ncurses, gdbm, self, callPackage
|
, sqlite, tcl, tk, xlibsWrapper, openssl, readline, db, ncurses, gdbm, self, callPackage
|
||||||
, python26Packages }:
|
, python26Packages }:
|
||||||
|
|
||||||
|
@ -53,8 +53,6 @@ let
|
||||||
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline xlibsWrapper tcl tk sqlite ]
|
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline xlibsWrapper tcl tk sqlite ]
|
||||||
++ optional zlibSupport zlib;
|
++ optional zlibSupport zlib;
|
||||||
|
|
||||||
propagatedBuildInputs = [ less ];
|
|
||||||
|
|
||||||
mkPaths = paths: {
|
mkPaths = paths: {
|
||||||
C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" paths;
|
C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" paths;
|
||||||
LIBRARY_PATH = makeLibraryPath paths;
|
LIBRARY_PATH = makeLibraryPath paths;
|
||||||
|
@ -66,8 +64,8 @@ let
|
||||||
name = "python${if includeModules then "" else "-minimal"}-${version}";
|
name = "python${if includeModules then "" else "-minimal"}-${version}";
|
||||||
pythonVersion = majorVersion;
|
pythonVersion = majorVersion;
|
||||||
|
|
||||||
inherit majorVersion version src patches buildInputs propagatedBuildInputs
|
inherit majorVersion version src patches buildInputs preConfigure
|
||||||
preConfigure configureFlags;
|
configureFlags;
|
||||||
|
|
||||||
inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH;
|
inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue