diff options
author | K900 <me@0upti.me> | 2024-07-01 20:10:49 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-07-02 11:34:21 +0300 |
commit | 90a27800292ecf34f2dbdbfc70bf89828b40a573 (patch) | |
tree | e5d74762796c942350ab312382e990bb2697bdb6 | |
parent | 7c1177c514661cdd8b9592905a234db6068f0d0c (diff) |
libreoffice: fix build with Python 3.12
-rw-r--r-- | pkgs/applications/office/libreoffice/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 81acbb4ed6ae1..85ebaf2f79f35 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -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 = [ |