mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
mattermost: fix path in desktop file
This commit is contained in:
parent
e578b8499f
commit
5434a2b8a5
1 changed files with 3 additions and 0 deletions
|
@ -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)" \
|
||||
|
|
Loading…
Reference in a new issue