-
Notifications
You must be signed in to change notification settings - Fork 15
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
Running nix-shell fails at error: could not compile const-random-macro
on OSX Catalina
#20
Comments
So I've been doing a little more digging and learning a little more about how all this works and I'm wondering if the problem is to do with the version of holonix you're using doesn't have I do not currently have the fu to figure out how I could test this theory locally. |
Just to make sure: Another interesting link might be this one: I don't run MacOS so I have no way of validating. |
Yes ;) Although I did have a crisis of confidence the other week and wondered if I'd perhaps done a reinstall of OSX since I last played with code but it's there,
Interesting - it makes sense so I tried, ensured the environment variables were correctly added by echoing them but still the same error which is why I'm thinking it's where @steveej says: In the meantime we merged something that will likely help with the libiconv linking, see #212. ...and in #212 @steveej says: So when I did some more digging today and saw the developer exercises are referencing a specific commit of holonix I realised this "unblocking" of macOS devs wouldn't be included in the one used here. This is me presuming that
Really appreciate your time and attention, could very well have been that environment variable issue, good find! |
@stephenbpurkiss can you try again doing |
Woo yay, got further than last time!
|
Yes! All seems to work, closing this for now. |
I am wondering if anyone else is running OSX Catalina and managed to get nix-shell working OK. Due to the age of my laptop (Mid-2012) I am unable to upgrade to Big Sur, I don't have much space left on the machine to do dual-boot, plus I believe I won't be the only one who will be using Catalina for Holochain dev so sticking with it for the moment, will have to rethink if can't sort this issue out though as I'm still stuck at the first exercise lol.
Previously I posted on the Big Sur issue however as I discover and learn more I see the issues don't seem to be as related as I thought, I had a little google again today and saw an issue on the rust language to do with hashing and wondering if it's providing clues so thought I'd post here in case it makes any more sense to those in the know as the holonix command works fine it's only when I run nix-shell in the developer exercises it breaks. But then again I'm not running nix-shell on anything else so haven't isolated this, not sure what else I could try so feel free to suggest something so I can see whether it's developer-exercises specific or not.
From the Rust hashbrown issue:
Here's the output - am using @tixel's new fork but it's the same error as before:
The text was updated successfully, but these errors were encountered: