From 0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 2 Jul 2018 23:54:19 +0200 Subject: [PATCH] python37: fix darwin build --- .../development/interpreters/python/cpython/3.7/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/interpreters/python/cpython/3.7/default.nix b/pkgs/development/interpreters/python/cpython/3.7/default.nix index 9cc0377f925..cd198b5f173 100644 --- a/pkgs/development/interpreters/python/cpython/3.7/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.7/default.nix @@ -63,6 +63,12 @@ in stdenv.mkDerivation { patches = [ ./no-ldconfig.patch + + # Fix darwin build https://bugs.python.org/issue34027 + (fetchpatch { + url = https://bugs.python.org/file47666/darwin-libutil.patch; + sha256 = "0242gihnw3wfskl4fydp2xanpl8k5q7fj4dp7dbbqf46a4iwdzpa"; + }) ]; postPatch = ''