libreoffice: add coreutils, gnugrep in wrapper

so scripts can utilise coreutils, grep commands
needed for scenarios when used in conjuction with firejail
This commit is contained in:
John Titor 2024-04-15 17:43:27 +05:30
parent 9b213c7e5b
commit b22c3951f5
No known key found for this signature in database
GPG key ID: 29B0514F4E3C1CC0

View file

@ -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