libreoffice: fix build with Python 3.12

This commit is contained in:
K900 2024-07-01 20:10:49 +03:00
parent 7c1177c514
commit 90a2780029

View File

@ -274,6 +274,9 @@ in stdenv.mkDerivation (finalAttrs: {
substituteInPlace configure.ac --replace-fail \
'GPGMEPP_CFLAGS=-I/usr/include/gpgme++' \
'GPGMEPP_CFLAGS=-I${gpgme.dev}/include/gpgme++'
# Fix for Python 3.12
substituteInPlace configure.ac --replace-fail distutils.sysconfig sysconfig
'';
nativeBuildInputs = [