-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error while loading shared libraries #2
Comments
Hi, thank you for sharing the issue! I think this line does not work in your environment: vscode-remote-wsl-nixos/server-env-setup Line 17 in 086466f
where I suspect you have overridden |
The quick and dirty way would be hardcoding gcc path. In other words, replace You can find the path with the following command: |
It actually looks like
I wonder if this is because I'm using flakes. Contrasted to the old, working configuration:
|
Looking at the script, it's internal api towards the Questions regarding identifiers like:
... are resolved by querying information from So for this script to work, roughly two conditions have to be met:
|
I think noting the challenges of using vscode remote-WSL with NixOS, would help.
One way to do above 2 things, is using special server-env-setup file, which this repository uses. If there's another way to do them, it would work without serious issues. |
Another solution for vscode other than this repository was implemented recently. |
Alright, nevermind the comment right above. The cause was: the brand new Nix (which introduces flakes) changes how I created a new script which works with the new Nix. Check out here. It should work. |
Nice! Thanks for working on this. |
Seems like the issue is solved, closing the issue. |
Hi!
Great work on this script - it was really easy to implement.
But, something about my recent changes to NixOS configuration broke it. I now get the following error:
I think this is the most interesting line:
Maybe I need to disable interop?
The text was updated successfully, but these errors were encountered: