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-02 23:54:19 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-07-09 22:34:55 +0200
commit0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e (patch)
tree3cd9baec251cce4694dfb784b7e8cf66fc597814 /pkgs/development/interpreters/python
parent92a6feca0ad974be0b3915a7197849651f17d870 (diff)
downloadnixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar.gz
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar.bz2
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar.lz
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar.xz
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.tar.zst
nixlib-0c4595a9b68e82b5b3bb05b4f89e00e5b5b75c5e.zip
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 9cc0377f925f..cd198b5f1738 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 = ''