mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
xfce.thunar: Add exo to PATH
Thunar assumes exo-desktop-item-edit and exo-open are available and does not provide fallback when they are missing, so just pass exo to the wrapper. Fixes https://github.com/NixOS/nixpkgs/issues/329688.
This commit is contained in:
parent
382426770f
commit
1175a030a1
@ -60,6 +60,13 @@ let unwrapped = mkXfceDerivation {
|
||||
sed -i -e 's|thunar_dialogs_show_insecure_program (parent, _(".*"), file, exec)|1|' thunar/thunar-file.c
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# https://github.com/NixOS/nixpkgs/issues/329688
|
||||
--prefix PATH : ${lib.makeBinPath [ exo ]}
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Xfce file manager";
|
||||
mainProgram = "thunar";
|
||||
|
Loading…
Reference in New Issue
Block a user