New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-language-server (Microsoft): enable on darwin #89150
Conversation
|
||
mkdir $out/bin | ||
makeWrapper $out/lib/Microsoft.Python.LanguageServer $out/bin/python-language-server | ||
''; | ||
|
||
postFixup = '' | ||
postFixup = stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very unsure if this is ok. These are dylibs on darwin and are bundled with python-language-server (not in these locations)
@@ -0,0 +1,1321 @@ | |||
# This file is autogenerated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also not happy about the level of duplication here, but I thought I'd start with the safest thing first.
anyway we could get this merged in? |
@sorenmacbeth I don't think there are any blockers, not sure about the dylib situation as I noted in my comments. Also, of note, happy to get this merged but I now recommend using pyright as this language server has been abandoned by MS in favor of pyright/pylance |
@sorenmacbeth Pyright is already in Nixpkgs as |
Motivation for this change
Closes #89139
Now that #88750 is merged adding dotnet core support, Microsoft's python language server ( #85930) should be able to be built on darwin. I'm not super familiar with packaging for nix on darwin. Definitely would appreciate any pointers or review.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)