From 5434a2b8a5ce6232831db1276b2ee7bcc3cf4859 Mon Sep 17 00:00:00 2001 From: Kyle Sferrazza Date: Thu, 14 Nov 2019 10:38:01 -0500 Subject: [PATCH] mattermost: fix path in desktop file --- .../instant-messengers/mattermost-desktop/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix index e5b962b2493..dbfc87b8e8d 100644 --- a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix @@ -78,6 +78,9 @@ in rm $out/share/mattermost-desktop/create_desktop_file.sh mkdir -p $out/share/applications mv Mattermost.desktop $out/share/applications/Mattermost.desktop + substituteInPlace \ + $out/share/applications/Mattermost.desktop \ + --replace /share/mattermost-desktop/mattermost-desktop /bin/mattermost-desktop patchelf \ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \