v2rayN problem in nix linux , xray

Hello
Has anyone been able to solve the issue with v2rayN that prevents it from running the xray core?!
At first, I created a symbolic link to the xray core in the directory it was looking for, but it still didn’t work.
Then, I downloaded xray separately and placed it in that section, but it still couldn’t run.
I executed v2rayN with sudo, but it still couldn’t run.
I placed the xray file in the path it was looking for, but this time it was pinging but not connecting. It said it couldn’t run the xray core.

thanks

I used to setup it this way, it worked fine.

1 Like

Thank you for the solution! It worked perfectly for me.

I’m curious, how did you figure this out? I searched everywhere but came up empty. I didn’t even know xdg.dataFile existed or that I could assign a path to it.

I rarely had these issues on Arch thanks to the Arch Wiki, but I’m finding Nix quite challenging, and I often don’t know where to look to solve problems. Even AI tools didn’t suggest the solution you provided.

Thanks again!