To see what the extension does to your snap, go to the toplevel of the source tree and run snapcraft expand-extensions … that will spit out your snapcraft.yaml with all additions the extension puts into it during build …
along with that a command-chain script is prefixed to your command:, that script will modify environment variables that i.e. tell mesa where to look for dri libs and drivers …
Thank you ogra. I am not sure I understand though.
I ran the command to expand, but did not learn much from that.
Other than finding this in the output: