Open JackSullivan opened 7 months ago
would you be willing to make a PR to unbreak llm-ls
for darwin
? i don't have a mac to test out your suggestion.
I'm happy to make the PR for llm-ls
on darwin
and to do the testing for it, though I don't have the knowledge to debug the problems in the log I posted, so I'll need some help
Is this issue potentially related to #19098? It appears to be of the same form.
darwin
is currently inbadPlatforms
forllm-ls
, but it does build fine onaarch64-darwin
outside of nixpkgs.Steps To Reproduce
On
aarch64-darwin
nix build nixpkgs/nixos-23.11#llm-ls
fails to build with 'not available on the requested host platform' (This is expected). When I removedarwin
frombadPlatforms
it says it can't find theSecurity
framework (I believe needed by the rust packagesecurity-framework-sys:2.9.1
).When I alter the llm-ls build script to add
buildInputs = lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
, it fails with a bunch ofUndefined symbols for architecture arm64
errors (see full log below). However, If I just clone the relevant checkpoint of thellm-ls
repo and runnix run nixpkgs/nixos-23.11#cargo -- build
, it builds and runs fine.Build log
Build Log Gist
Notify maintainers
@jfvillablanca
Metadata
Add a :+1: reaction to issues you find important.