I have a flake which uses Qt and works like a charm on a number of machines running NixOS.
Someone tried to use it on Ubuntu in WSL2, and this error appears
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat
I am aware that OpenGL-dependent derivations on non-NixOS require a helping hand from NixGL so I tried the
nix run --override-input nixpkgs nixpkgs/nixos-21.11 --impure github:guibou/nixGL -- program
approach, which seems to have changed nothing.
Any ideas how to overcome this?