Built library part found but not being used by later primary part build

I worked it out, needed to tell the vala compiler that there were some extra vapi files available.

Just added the following to the snippetpixie part…

    build-environment:
      - VALAFLAGS: " --vapidir $SNAPCRAFT_STAGE/usr/share/vala/vapi"
2 Likes