From 47587f5d3143a27ae82c73fc7baf1d9e7b1bda39 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Tue, 1 Jan 2019 23:00:56 +0100 Subject: [PATCH] python37: fix cross build --- pkgs/development/interpreters/python/cpython/3.7/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/3.7/default.nix b/pkgs/development/interpreters/python/cpython/3.7/default.nix index 1d8b1c0eadf3..61ffa8ec5a43 100644 --- a/pkgs/development/interpreters/python/cpython/3.7/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.7/default.nix @@ -35,7 +35,7 @@ let sitePackages = "lib/${libPrefix}/site-packages"; buildInputs = filter (p: p != null) [ - zlib bzip2 expat lzma libffi gdbm sqlite readline ncurses openssl nukeReferences ] + zlib bzip2 expat lzma libffi gdbm sqlite readline ncurses openssl ] ++ optionals x11Support [ tcl tk libX11 xproto ] ++ optionals stdenv.isDarwin [ CF configd ]; @@ -51,7 +51,7 @@ in stdenv.mkDerivation { inherit buildInputs; - nativeBuildInputs = + nativeBuildInputs = [ nukeReferences ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ buildPackages.stdenv.cc buildPackages.python37 ];