-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nix-shell -p julia doesnt work on osx #192218
Comments
Does |
@wentasah It's still failing, at least it is for me:
Seems like there's some differences in the commands that are needed on Darwin (specifically |
Yes, these are definitely missing. Can you try adding these to the derivation? I don't use Macs at all, but
Unzip should probably be added just next to xcbuild:
|
That gets it further along in the process, but eventually the build reaches a point where it needs to call
This library does exist on my machine:
Just not where it's trying to look:
I've tried a couple of different things to try to fix that (mostly adding things to the |
Hmm, I see. The build process on MacOS is probably quite different from Linux. Moreover, it seems that MacOS build tries to download libraries at build time, which will probably not work in Nix. Anyway, I'm pinging @NickCao so that he is aware of your attempts. I'm not sure whether he will be able to help, though. |
Julia does something unusual in it's building process, namely symlinking the dynamic libraries to it's private folder under |
So dropping the patch did not work... It ends up failing when trying to call Regarding an equivalent of Maybe there's someone more knowledgable in the Darwin build process that we can pester? |
Maybe there's someone more knowledgable in the Darwin build process that we can pester?
If I recall correctly, there is a new team/initiative for improving Nix
experience on Darwin. Not sure where they are, but asking on Matrix at
https://matrix.to/#/#macos:nixos.org might help.
|
Describe the bug
On osx 12.6 (21G115) executing
nix-shell -p julia
will throw the errorExpected behavior
I want to use julia via
nix-shell
The text was updated successfully, but these errors were encountered: