Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ diff --git a/cpydist/__init__.py b/cpydist/__init__.py
index 7fdbaf2..3c427da 100644
--- a/cpydist/__init__.py
+++ b/cpydist/__init__.py
@@ -38,7 +38,7 @@ import tempfile
@@ -37,7 +37,7 @@ import tempfile
from glob import glob
from pathlib import Path
from subprocess import PIPE, Popen, check_call
from subprocess import PIPE, Popen
-from sysconfig import get_config_vars, get_python_version
+from sysconfig import get_python_version

from setuptools import Command
from setuptools.command.build_ext import build_ext
@@ -68,8 +68,6 @@ version_py = os.path.join("lib", "mysql", "connector", "version.py")
@@ -67,8 +67,6 @@ version_py = os.path.join("lib", "mysql", "connector", "version.py")
with open(version_py, "rb") as fp:
exec(compile(fp.read(), version_py, "exec"))

-if "MACOSX_DEPLOYMENT_TARGET" in get_config_vars():
- get_config_vars()["MACOSX_DEPLOYMENT_TARGET"] = "11.0"

COMMON_USER_OPTIONS = [
(
(
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/mysql-connector/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ buildPythonPackage rec {
hash = "sha256-EwdJpiyplck26Tc9SiczxGieJ3GcTGMQva/fDzhzWn4=";
};

sourceRoot = "${src.name}/mysql-connector-python";

patches = [
# mysql-connector overrides MACOSX_DEPLOYMENT_TARGET to 11.
# This makes the installation with nixpkgs fail. I suspect, that's
Expand Down
Loading