From 56e96b8b10ec2552eacb8c76a7df0960517f213b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 15 May 2016 13:37:51 +0200 Subject: [PATCH] Python 3.4: be explicit about buildInputs --- .../interpreters/python/3.4/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/python/3.4/default.nix b/pkgs/development/interpreters/python/3.4/default.nix index 517dfc3d8b27..1f6a929f9cdc 100644 --- a/pkgs/development/interpreters/python/3.4/default.nix +++ b/pkgs/development/interpreters/python/3.4/default.nix @@ -27,15 +27,27 @@ let fullVersion = "${version}"; buildInputs = filter (p: p != null) [ - zlib bzip2 lzma gdbm sqlite db readline ncurses openssl tcl tk libX11 xproto - ]; + zlib + bzip2 + lzma + gdbm + sqlite + db + readline + ncurses + openssl + tcl + tk + libX11 + xproto + ] ++ optionals stdenv.isDarwin [ CF configd ]; in stdenv.mkDerivation { name = "python3-${fullVersion}"; pythonVersion = majorVersion; inherit majorVersion version; - buildInputs = optionals stdenv.isDarwin [ CF configd ]; + inherit buildInputs; src = fetchurl { url = "http://www.python.org/ftp/python/${version}/Python-${fullVersion}.tar.xz";