From f048ff3969abf7528f3569f7214995ecd5e0e619 Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Fri, 19 Jun 2015 12:56:00 -0700 Subject: [PATCH] darwin purity: python-2.7 --- pkgs/development/interpreters/python/2.7/default.nix | 5 ++++- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 792e2a67974..a24135ed83b 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -8,6 +8,8 @@ , tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin , zlib ? null, zlibSupport ? true , expat, libffi + +, CF, configd }: assert zlibSupport -> zlib != null; @@ -92,7 +94,8 @@ let [ db gdbm ncurses sqlite readline ] ++ optionals x11Support [ tcl tk x11 libX11 ] ) - ++ optional zlibSupport zlib; + ++ optional zlibSupport zlib + ++ optionals stdenv.isDarwin [ CF configd ]; # Build the basic Python interpreter without modules that have # external dependencies. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4ee30b3d3a6..52f4b6a7538 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4910,6 +4910,7 @@ let }; python27 = callPackage ../development/interpreters/python/2.7 { self = python27; + inherit (darwin) CF configd; }; python32 = callPackage ../development/interpreters/python/3.2 { self = python32;