-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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 develop on nix-darwin #1292
Comments
the error could not be fixed by adding the packages, maybe there are some *other problems. |
did you got it working? |
No, not yet I’m afraid. |
its a general problem, if you found a solution, i would love to see a update here. |
I opened a PR with a fix, if you could test it and comment on the PR I'd appreciate it (it worked on my machine™) |
buildInputs = with pkgs; [
cargo
rustc
rust-analyzer
rustlings
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
]; Do you think it's a good idea? or would there be a better workaround? P.S. This wasn't necessary. |
It depends, the "nix way" would be to add a package and app so you would be doing Quick question though, do you need to run |
Sorry, I just realized I could run |
To make
nix develop
work on nix-darwin, the following packages are required to be installed.and, the following error will be returned if those packages (CoreServices in this case) are not included:
but I'm new to nix and I don't have any idea how I can let nix install these packages only on darwin. So, I'd like someone to hopefully implement this (for future nix-darwin users).
The text was updated successfully, but these errors were encountered: