You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup: No 'main-is' field found for executable libkaleidogen.so
No 'main-is' field found for executable libkaleidogen-sdl.so
No 'main-is' field found for executable libkaleidogen-android.so
and it took me some sleuthing to find out that there is a sed script in
that only works if the executable section is indented by two spaces (I had four).
Not sure what an easy solution is. But maybe add an echo after the sed saying “Mangling .cabal file to produce android libraries” so leave a breadcrumb for debugging.
The text was updated successfully, but these errors were encountered:
Ah wow, sorry about that! Yes, we should make it more debuggable, and I do wonder if there's a better way to do it. Maybe we can write a Haskell script that parses the file with cabal, mangles it, and then produces the new version with cabal?
You could probably use a multi-line regex to match on the header for executableand the indent of the next non-empty line, and use that. Still fragile and hacky, but pushes the line a bit further.
I was just staring at an odd error
and it took me some sleuthing to find out that there is a sed script in
reflex-platform/android/impl.nix
Line 4 in 04672fb
Not sure what an easy solution is. But maybe add an
echo
after the sed saying “Mangling .cabal file to produce android libraries” so leave a breadcrumb for debugging.The text was updated successfully, but these errors were encountered: