Skip to content

Commit

Permalink
tail-tray: Add patch to fix auto reconecting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenum committed Feb 9, 2025
1 parent b93ec82 commit 8f33018
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/by-name/ta/tail-tray/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
davfs2,
cmake,
stdenv,
fetchpatch,
pkg-config,
kdePackages,
}:
Expand Down Expand Up @@ -31,9 +32,17 @@ stdenv.mkDerivation rec {
davfs2
];

postFixupPhase = ''
patches = [
# Fixes https://github.com/SneWs/tail-tray/issues/33
(fetchpatch {
url = "https://github.com/SneWs/tail-tray/commit/d7655e2187f6a445bd046d0b6fc766387a4d55b7.diff";
hash = "sha256-hyf3f8A8hxx2WFsh0eYb4meytg0TpOh9nZAUAtL0jsY=";
})
];

postFixup = ''
substituteInPlace $out/share/applications/tail-tray.desktop \
--replace-fail '/usr/local' $out
--replace-fail '/usr/local' $out
'';

meta = {
Expand Down

0 comments on commit 8f33018

Please sign in to comment.