lol

Merge pull request #80959 from B4dM4n/mysql-connector-fix-build

pythonPackages.mysql-connector: fix build for python != python3

authored by

Michael Weiss and committed by
GitHub
d6b692f4 fd920aac

+3 -5
+3 -5
pkgs/development/python-modules/mysql-connector/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 2 - , python3, protobuf3_6 3 - }: 1 + { lib, buildPythonPackage, fetchFromGitHub, python, protobuf3_6 }: 4 2 5 3 let 6 - python = python3.override { 4 + py = python.override { 7 5 packageOverrides = self: super: { 8 6 protobuf = super.protobuf.override { 9 7 protobuf = protobuf3_6; ··· 21 19 sha256 = "1jscmc5s7mwx43gvxjlqc30ylp5jjpmkqx7s3b9nllbh926p3ixg"; 22 20 }; 23 21 24 - propagatedBuildInputs = with python.pkgs; [ protobuf dnspython ]; 22 + propagatedBuildInputs = with py.pkgs; [ protobuf dnspython ]; 25 23 26 24 # Tests are failing (TODO: unknown reason) 27 25 # TypeError: __init__() missing 1 required positional argument: 'string'