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
jetbrains rider: backend on .Net Core support #86227
Conversation
Hello, I tried this PR, but it seems that rider is still crashing at boot. |
It seems strange, because on my computer and on ubuntu 20.04 with nix, rider 2020.1 does not crash. |
I have checked this PR again today, and I got the following output:
|
@elyhaka, please, try to execute dotnet in |
on NixOS 20.03 it crashed once (i think it deactivated a plugin) then on the next start it worked
|
I believe I may have an issue that is unrelated to the fix of this PR. |
Only @edwtjo's absence I think. Is there a way to change reviewer? |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Works On My Machine ™️ 🎉 (NixOS 19.09 linux-x64) |
I have sad to report that this does not work on my machine. I get the same error, and sadly, the splash screen for whatever reason no longer respects my DPI settings. |
I just tested this also on Windows 10 WSL2 + Ubuntu 16.04 + VcXsrv 1.20.8.1 + Nix 2.3.6 and it works. FWIW I think this should be merged. It has passed all tests and it has fixed the crash at least for some people, whereas without this patch it crashes for everyone. |
My platform is NixOS 20.03 and Nix 2.3.6. So, I got the idea that if it's working for somebody else, it might be something in my local configuration that's causing the problem. I tried nuking basically any directory that looked like it might have some JetBrains stuff in it so But then... I tried it your way, by which I mean I ran the command your provided ... annnnnd it worked. So, I'm afraid I might have been muddying the waters here. I'm new to Nix and NixOS, and I was trying to get my preferred dotnet IDE running. The way I tested this pull request was to download this files changed in this pull request (the
to my packageOverrides, where .nix/pkgs/rider was where I stuck the files. I am getting the feeling that this might have not been a comprehensive or accurate way of doing things. |
I confirm that executing directly with I'm not quite sure why, I will investigate this later today. |
Is there anything, that can be done to bring this PR forward? |
Figuring out why it works from a shell but not from an overlay so the fix can be used for Nix and NixOS setups might be a good start I believe ? Could not figure out the reason yet. |
@elyhaka
In the about dialogue of rider version from this pull request I get
It looks like you are using a different version of the jre dependency. Is the new dependency version maybe missing in the overlay? |
Motivation for this change
Developers of Rider-2020.1 changed default backend's runtime from mono to netcore, but bundled netcore cannot find libc++ and other dependencies.
Things done
Created symlink to NixOS's build of netcore
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)