about summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorFelix Uhl <github@mail.felix-uhl.de>2024-03-27 22:46:45 +0100
committerFelix Uhl <github@mail.felix-uhl.de>2024-03-27 22:46:45 +0100
commitfb037b6dacb31c1cf8737a8e9be634e6b0ca5e33 (patch)
tree1fdd0a8e43aa53ac05207c919eb1bb75e7950df7 /pkgs/development/tools/misc
parentc59f26f329839830b96696b3554fa599db84c045 (diff)
ycmd: Fix build on darwin
Fixes #299594, which was caused by a .so file in
ycmd/third_party/jedi_deps/jedi/test/examples/init_extension_module

Also reduces output size; we don't need to ship tests of dependencies.
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/ycmd/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/ycmd/default.nix b/pkgs/development/tools/misc/ycmd/default.nix
index b675334c343a7..986390a19dae6 100644
--- a/pkgs/development/tools/misc/ycmd/default.nix
+++ b/pkgs/development/tools/misc/ycmd/default.nix
@@ -56,6 +56,7 @@ stdenv.mkDerivation {
   # symlink completion backends where ycmd expects them
   installPhase = ''
     rm -rf ycmd/tests
+    find third_party -type d -name "test" -exec rm -rf {} +
 
     chmod +x ycmd/__main__.py
     sed -i "1i #!${python.interpreter}\