-
Notifications
You must be signed in to change notification settings - Fork 346
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
Broken Clang on MacOS (nix-darwin) #951
Comments
I think we have a clang option somewhere that you have to enable, but I might be wrong. |
The only references to Clang in the devenv/docs/reference/options.md Lines 3844 to 3850 in ad0ae33
EDIT: and those are actually the only references to Clang in the whole repo, other than the explicit dependency on |
My workaround was adding |
I've found that clang breaks in this way if I have multiple languages enabled. For example if I have the following then I get problems with clang when using golang.
But with only go enabled as below, it works just fine.
|
I can confirm the issue. |
This didn't work for me |
Does it also happen on #745 |
Could someone try with 1.0.1 that was released yesterday? |
I am going to test it immediately |
All the examples above are now working, so I'd close the issue if there are no further comments (to be completely honest: I didn't test with 1.0.1, but I left the flake locking the dependency on its own, and it happened to be fixed to rev 984707a, that is 3 commits ahead...) |
Closing, please reopen if still broken. |
Describe the bug
Trying to compile a simple
hello.cpp
program is failing, because of c++abi not found.To reproduce
I'm actually using a flake
I defined three shells (uncommenting each one of the subdivided sections), and run
with the customary
hello.cpp
:In the first case (no
devenv
) everything works smoothly (even without--impure
, of course), and running./a.out
I obtain the usualHello, World!
output.In the other two cases, I'm unable to compile. The result is:
(the hash may change, I tried with multiple versions of
nixpkgs
, includingnixos-23.11
and `nixpkgs-23.11-darwin, on top of the two options in the flake)I'm not sure what is actually happening...
Version
I attach the whole
flake.lock
.flake.zip
I'm on MacOS, with ARM architecture (Apple Silicon).
The text was updated successfully, but these errors were encountered: