From 4b5182477cded7e336c23171b51350c1bb4d2dd1 Mon Sep 17 00:00:00 2001 From: ilmari-lauhakangas Date: Thu, 19 Aug 2021 11:51:44 +0300 Subject: [PATCH] libreoffice: xdg-open-brief.patch not needed for 7.2 --- pkgs/applications/office/libreoffice/src-still/override.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/office/libreoffice/src-still/override.nix b/pkgs/applications/office/libreoffice/src-still/override.nix index 0141b74c3890..b90a0fb5bfdc 100644 --- a/pkgs/applications/office/libreoffice/src-still/override.nix +++ b/pkgs/applications/office/libreoffice/src-still/override.nix @@ -7,4 +7,9 @@ attrs: configureFlags = attrs.configureFlags ++ [ (lib.enableFeature kdeIntegration "kf5") ]; + patches = attrs.patches ++ [ ./xdg-open-brief.patch ]; + postPatch = attrs.postPatch + '' + substituteInPlace shell/source/unix/exec/shellexec.cxx \ + --replace /usr/bin/xdg-open ${if kdeIntegration then "kde-open5" else "xdg-open"} + ''; }