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.
This commit is contained in:
Felix Uhl 2024-03-27 22:46:45 +01:00
parent c59f26f329
commit fb037b6dac

View file

@ -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}\