Statically compile AppImage
Right now AppImage does dynamic linking to some libraries like FUSE and SquashFS. Ideally we could statically compile everything. This will increase our bundle size a little but will mean we don't need 'test-appimage.nix'.
Most likely we will have to slightly modify appimagetool to get this to work.
Sounds good! This isn't a regression is it?
No AFAIK appimagetool has always used dynamic libraries.
Check https://github.com/AppImage/AppImageKit/issues/45#issuecomment-280866698.
https://github.com/AppImage/AppImageKit/blob/appimagetool/master/src/runtime.c is the code that you would need to get compiled statically.