From f3c17463a181847bb1c084871926ff5e7252b7b0 Mon Sep 17 00:00:00 2001 From: ilmari-lauhakangas Date: Thu, 19 Aug 2021 19:06:29 +0300 Subject: [PATCH] Let's keep kde-open5 --- pkgs/applications/office/libreoffice/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 53f30dfa0475..abfd223fd001 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -90,6 +90,9 @@ in (mkDrv rec { libs = list: lib.concatMapStringsSep " " (e: "-L${lib.getLib e}/lib") list; in '' + substituteInPlace shell/source/unix/exec/shellexec.cxx \ + --replace /usr/bin/xdg-open ${if kdeIntegration then "kde-open5" else "xdg-open"} + # configure checks for header 'gpgme++/gpgmepp_version.h', # and if it is found (no matter where) uses a hardcoded path # in what presumably is an effort to make it possible to write