about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorTravis B. Hartwell <nafai@travishartwell.net>2015-06-19 15:10:05 -0600
committerTravis B. Hartwell <nafai@travishartwell.net>2015-07-01 01:52:13 -0600
commitfd4c675c7746e28d71e046e4c41b5ba1a585b21c (patch)
tree14418518df878ed2cea24f2a8bf4471bbf7f4c2c /pkgs/applications/editors
parenta77d26b6571687b224b1f39501758f514ee0f919 (diff)
downloadnixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar.gz
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar.bz2
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar.lz
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar.xz
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.tar.zst
nixlib-fd4c675c7746e28d71e046e4c41b5ba1a585b21c.zip
atom: update desktop file and remove unneeded lintian directory.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/atom/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
index dc7975f5dcd5..fc2f9265ed67 100644
--- a/pkgs/applications/editors/atom/default.nix
+++ b/pkgs/applications/editors/atom/default.nix
@@ -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