Darwin: Add mig', lipo', etc. to `stdenvNative'.
Consequently, remove `darwinLipoUtility', `darwinArchUtility', etc. svn path=/nixpkgs/trunk/; revision=33893
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
|
||||
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm
|
||||
, darwinArchUtility ? null, darwinSwVersUtility ? null
|
||||
}:
|
||||
|
||||
assert zlibSupport -> zlib != null;
|
||||
assert stdenv.isDarwin -> darwinArchUtility != null;
|
||||
assert stdenv.isDarwin -> darwinSwVersUtility != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -33,8 +30,7 @@ let
|
||||
buildInputs =
|
||||
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
||||
[ bzip2 ]
|
||||
++ optional zlibSupport zlib
|
||||
++ optionals stdenv.isDarwin [ darwinArchUtility darwinSwVersUtility ];
|
||||
++ optional zlibSupport zlib;
|
||||
|
||||
|
||||
# Build the basic Python interpreter without modules that have
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
|
||||
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm
|
||||
, darwinArchUtility ? null, darwinSwVersUtility ? null
|
||||
}:
|
||||
|
||||
assert zlibSupport -> zlib != null;
|
||||
assert stdenv.isDarwin -> darwinArchUtility != null;
|
||||
assert stdenv.isDarwin -> darwinSwVersUtility != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -39,8 +36,7 @@ let
|
||||
buildInputs =
|
||||
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
||||
[ bzip2 openssl ]
|
||||
++ optional zlibSupport zlib
|
||||
++ optionals stdenv.isDarwin [ darwinArchUtility darwinSwVersUtility ];
|
||||
++ optional zlibSupport zlib;
|
||||
|
||||
ensurePurity =
|
||||
''
|
||||
|
||||
@@ -9,11 +9,8 @@
|
||||
, openssl
|
||||
, tcl, tk
|
||||
, libX11, xproto
|
||||
, arch ? null, sw_vers ? null
|
||||
}:
|
||||
|
||||
assert stdenv.isDarwin -> arch != null;
|
||||
assert stdenv.isDarwin -> sw_vers != null;
|
||||
assert readline != null -> ncurses != null;
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -23,7 +20,7 @@ let
|
||||
version = "${majorVersion}.3";
|
||||
|
||||
buildInputs = filter (p: p != null) [
|
||||
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto arch sw_vers
|
||||
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -9,11 +9,8 @@
|
||||
, openssl
|
||||
, tcl, tk
|
||||
, libX11, xproto
|
||||
, arch ? null, sw_vers ? null
|
||||
}:
|
||||
|
||||
assert stdenv.isDarwin -> arch != null;
|
||||
assert stdenv.isDarwin -> sw_vers != null;
|
||||
assert readline != null -> ncurses != null;
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -23,7 +20,7 @@ let
|
||||
version = "${majorVersion}";
|
||||
|
||||
buildInputs = filter (p: p != null) [
|
||||
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto arch sw_vers
|
||||
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
||||
Reference in New Issue
Block a user