Unverified Commit 1175a030 authored by Bobby Rong's avatar Bobby Rong
Browse files

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.
parent 38242677
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";