Snap build fails with core22 on launchpad

There are some changes in snapcraft when building for core22, you’ll need to make some changes in your yaml.

See the migration guide for details and of course let us know if you have questions along the way.