Skip to content

Commit

Permalink
Merge pull request #51605 from fusion809/patch-8
Browse files Browse the repository at this point in the history
atom, atom-beta: Fixing Exec= line in app launcher
  • Loading branch information
worldofpeace committed Dec 6, 2018
2 parents 0d649c8 + d354f7c commit dd345c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/applications/editors/atom/default.nix
Expand Up @@ -44,8 +44,7 @@ let
buildCommand = ''
mkdir -p $out/usr/
ar p $src data.tar.xz | tar -C $out -xJ ./usr
substituteInPlace $out/usr/share/applications/${pname}.desktop \
--replace /usr/share/${pname} $out/bin
sed -i -e "s|Exec=.*$|Exec=$out/bin/${pname}|" $out/usr/share/applications/${pname}.desktop
mv $out/usr/* $out/
rm -r $out/share/lintian
rm -r $out/usr/
Expand Down

0 comments on commit dd345c8

Please sign in to comment.