summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-04-15 17:43:27 +0530
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-04-15 20:49:51 +0530
commitb22c3951f5e579dc1f132e2a922630ba6ecfef25 (patch)
treec6e94b042671e41515e8f8fa0212645bd95cdd73
parentMerge pull request #304309 from anthonyroussel/anthonyroussel-add-matrix (diff)
downloadnixpkgs-b22c3951f5e579dc1f132e2a922630ba6ecfef25.tar.gz
libreoffice: add coreutils, gnugrep in wrapper
so scripts can utilise coreutils, grep commands needed for scenarios when used in conjuction with firejail
-rw-r--r--pkgs/applications/office/libreoffice/wrapper.nix4
1 files changed, 4 insertions, 0 deletions
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