From fb037b6dacb31c1cf8737a8e9be634e6b0ca5e33 Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Wed, 27 Mar 2024 22:46:45 +0100 Subject: [PATCH] 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. --- pkgs/development/tools/misc/ycmd/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/misc/ycmd/default.nix b/pkgs/development/tools/misc/ycmd/default.nix index b675334c343a..986390a19dae 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}\