atom: update desktop file and remove unneeded lintian directory.

This commit is contained in:
Travis B. Hartwell 2015-06-19 15:10:05 -06:00
parent a77d26b657
commit fd4c675c77

View file

@ -31,7 +31,10 @@ in stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out
ar p $src data.tar.gz | tar -C $out -xz ./usr
substituteInPlace $out/usr/share/applications/atom.desktop \
--replace /usr/share/atom $out/bin
mv $out/usr/* $out/
rm -r $out/share/lintian
rm -r $out/usr/
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
$out/share/atom/atom