python3Packages.matplotlib: fix build (#533378)

This commit is contained in:
Martin Weinelt
2026-06-19 18:35:21 +00:00
committed by GitHub
@@ -98,9 +98,6 @@ buildPythonPackage (finalAttrs: {
--replace-fail "setuptools_scm>=7,<10" setuptools_scm
patchShebangs tools
substituteInPlace pyproject.toml \
--replace-fail "setuptools_scm>=7,<10" "setuptools_scm"
''
+ lib.optionalString (stdenv.hostPlatform.isLinux && interactive) ''
# fix paths to libraries in dlopen calls (headless detection)