mattermost: fix path in desktop file

This commit is contained in:
Kyle Sferrazza 2019-11-14 10:38:01 -05:00 committed by Jon
parent e578b8499f
commit 5434a2b8a5

View file

@ -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)" \