mattermost: fix path in desktop file
This commit is contained in:
parent
e578b8499f
commit
5434a2b8a5
|
@ -78,6 +78,9 @@ in
|
||||||
rm $out/share/mattermost-desktop/create_desktop_file.sh
|
rm $out/share/mattermost-desktop/create_desktop_file.sh
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
mv Mattermost.desktop $out/share/applications/Mattermost.desktop
|
mv Mattermost.desktop $out/share/applications/Mattermost.desktop
|
||||||
|
substituteInPlace \
|
||||||
|
$out/share/applications/Mattermost.desktop \
|
||||||
|
--replace /share/mattermost-desktop/mattermost-desktop /bin/mattermost-desktop
|
||||||
|
|
||||||
patchelf \
|
patchelf \
|
||||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
|
|
Loading…
Reference in New Issue