about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-07-09 23:12:11 +0200
committerGitHub <noreply@github.com>2018-07-09 23:12:11 +0200
commit63aed85367d62a5126e7ecbf81adf41b18b90391 (patch)
tree38da33a81a8dc77e3feb2e1ed6f61a76cb8c5dea /pkgs/development/interpreters/python
parent79b97aab7f8540d6fc8311e8339761e8085d3e98 (diff)
parent0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e (diff)
downloadnixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar.gz
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar.bz2
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar.lz
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar.xz
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.tar.zst
nixlib-63aed85367d62a5126e7ecbf81adf41b18b90391.zip
Merge pull request #42894 from LnL7/darwin-python37
python37: fix darwin build
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r--pkgs/development/interpreters/python/cpython/3.7/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/cpython/3.7/default.nix b/pkgs/development/interpreters/python/cpython/3.7/default.nix
index 410d07ebc61c..4c84727d3cbc 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 = ''