Hi everyone! Recently, I've been pretty interested in trying out the Google IDX editor. However, the template dev.nix file for rust doesn't work perfectly with bevy (or at least my code).
Notably, I'm having issues with the dependencies for: wayland, and alsa.
Essentially, the rust builder is panicking when building those dependencies because it is unwrapping a None type as the needed files (e.g. alsa.pc) are not found.
I tried following the nix guide: https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md
but Google IDX seems to have a different system when it comes to Nix setup such that I can't build the shell directly and can only add packages/environment variables?
I tried adding them as packages like so:
packages = [
pkg.pkg-config
pkg.udev
#etc.
];
But that didn't work at all!
I also tried adding them as an environment variable, with lib.makeLibraryPath but that also didn't work!
So I genuinely have no idea what to do to allow my code to compile. (No, I do not have any experience with Nix)
Thanks in advance! 👍