I’m trying to package my program which is using WGPU.
After packaging it (which I thought, it would be successfull), I wanted to include it into my dev shell, however there I found out that my packaging isn’t working.
Here is my flake with the dev shell (and package) I’m trying to fix and here the package-file.
The working version can be seen here. Here, my dev shell is working correctly and I can build and run my project without issues.
The problem which occurs is, that wgpu isn’t able to detect my graphics card.
If you want to reproduce the issue, you need to load the dev shell and run cargo run
(since it’s a runtime error). Also it does only work on wayland.
Any help/tips would be appreciated!