summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/atom
diff options
context:
space:
mode:
authorTobias Happ <Gerschtli@users.noreply.github.com>2018-06-11 00:08:08 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-06-11 00:08:08 +0200
commit8d488247e11a0820c667ecdaa72a04a7a4585f42 (patch)
tree6dd3f91ea33af29b5afa4f2d6151796de779c9ad /pkgs/applications/editors/atom
parent1ef6d3fe62f861619ed257fa145b2b8ce3fa7d9e (diff)
atom: patchelf ctags binary (#41811)
Diffstat (limited to 'pkgs/applications/editors/atom')
-rw-r--r--pkgs/applications/editors/atom/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
index a68c841d53bc..b13e9fe12587 100644
--- a/pkgs/applications/editors/atom/default.nix
+++ b/pkgs/applications/editors/atom/default.nix
@@ -35,6 +35,8 @@ let
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${atomEnv.libPath}" \
$share/resources/app/apm/bin/node
+ patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ $out/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
dugite=$share/resources/app.asar.unpacked/node_modules/dugite
rm -f $dugite/git/bin/git
@@ -53,7 +55,7 @@ let
homepage = https://atom.io/;
license = licenses.mit;
maintainers = with maintainers; [ offline nequissimus synthetica ysndr ];
- platforms = [ "x86_64-linux" ];
+ platforms = platforms.x86_64;
};
};
in stdenv.lib.mapAttrs common {