@@ -37,6 +37,10 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml setup.py \
|
||||
--replace "setuptools_scm < 8.0.0" "setuptools_scm"
|
||||
'' + lib.optionalString (pythonAtLeast "3.12") ''
|
||||
substituteInPlace ./cmake_modules/FindPython3Alt.cmake --replace-fail \
|
||||
"from distutils import sysconfig" \
|
||||
"import sysconfig"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user