From b22c3951f5e579dc1f132e2a922630ba6ecfef25 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:43:27 +0530 Subject: [PATCH] libreoffice: add coreutils, gnugrep in wrapper so scripts can utilise coreutils, grep commands needed for scenarios when used in conjuction with firejail --- pkgs/applications/office/libreoffice/wrapper.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/office/libreoffice/wrapper.nix b/pkgs/applications/office/libreoffice/wrapper.nix index b44fc71c3d84..2f3927146f80 100644 --- a/pkgs/applications/office/libreoffice/wrapper.nix +++ b/pkgs/applications/office/libreoffice/wrapper.nix @@ -12,6 +12,9 @@ , dconf , librsvg , gdk-pixbuf +# some scripts need these when used in conjuction with firejail +, coreutils +, gnugrep # Configuration options for the wrapper , extraMakeWrapperArgs ? [] , dbusVerify ? stdenv.isLinux @@ -32,6 +35,7 @@ let "--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" "--prefix" "GST_PLUGIN_SYSTEM_PATH_1_0" ":" "${lib.makeSearchPath "lib/girepository-1.0" unwrapped.gst_packages}" + "--suffix" "PATH" ":" "${lib.makeBinPath [ coreutils gnugrep ]}" ] ++ lib.optionals unwrapped.kdeIntegration [ "--prefix" "QT_PLUGIN_PATH" ":" "${ lib.makeSearchPath