diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9afb25d97..a2334e665 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -88,9 +88,11 @@ parts: build-environment: - LD_LIBRARY_PATH: $SNAPCRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/gnome-42-2204-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/gnome-42-2204-sdk/current/usr/lib:/snap/gnome-42-2204-sdk/current/usr/lib/vala-current:/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} override-build: | - set -eux mkdir -p $CRAFT_PART_INSTALL/bin/lib + # work around pub get stack overflow # https://github.com/dart-lang/sdk/issues/51068#issuecomment-1396588253 + set +e dart pub get + set -eux flutter build linux --release -v cp -r build/linux/*/release/bundle/* $CRAFT_PART_INSTALL/bin/