diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-06 10:12:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 10:12:05 -0500 |
commit | dd345c8ff9d00a80c19848a7203f16a28db7c6a0 (patch) | |
tree | 18e4957c5d9da28186d6a09e6b3b11a835463244 | |
parent | 0d649c8423cc6ae0bb62b3e208131669cb1dae71 (diff) | |
parent | d354f7cbe638715fd3258934ba611b6fa236f2ba (diff) | |
download | nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar.gz nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar.bz2 nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar.lz nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar.xz nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.tar.zst nixpkgs-dd345c8ff9d00a80c19848a7203f16a28db7c6a0.zip |
Merge pull request #51605 from fusion809/patch-8
atom, atom-beta: Fixing Exec= line in app launcher
-rw-r--r-- | pkgs/applications/editors/atom/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix index 834c6bedf3c..73a9f26a122 100644 --- a/pkgs/applications/editors/atom/default.nix +++ b/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/ |