Permalink
Browse files

Merge pull request #51605 from fusion809/patch-8

atom, atom-beta: Fixing Exec= line in app launcher
  • Loading branch information...
worldofpeace committed Dec 6, 2018
2 parents 0d649c8 + d354f7c commit dd345c8ff9d00a80c19848a7203f16a28db7c6a0
Showing with 1 addition and 2 deletions.
  1. +1 −2 pkgs/applications/editors/atom/default.nix
@@ -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/

0 comments on commit dd345c8

Please sign in to comment.