This launcher ships the perl-launch
launcher to your snap, which fixes the Perl applications in the snap runtime environment.
Prerequisites
This launcher depends on The debian-multiarch-triplet-provider-launch launcher: Enable DEBIAN_MULTIARCH_TRIPLET-like environment variable in the snap runtime, refer to the topic to integrate it into the snapcraft recipe.
How to use
Merge the following part definition:
parts:
# The perl-launch launcher: Fix Perl applications in the snap runtime
# https://forum.snapcraft.io/t/the-perl-launch-launcher-fix-perl-applications-in-the-snap-runtime/11736
perl-launch:
source: https://github.com/brlin-tw/perl-launch.git
source-tag: v1.0.0
plugin: dump
stage:
- bin/perl-launch
then add bin/perl-launch
to the command chain to launch the application:
apps:
_app_name_:
adapter: full
command: bin/_app_executable_
command-chain:
- bin/debian-multiarch-triplet-provider-launch
- bin/perl-launch
Implementation
Snaps that use this launcher
T.B.A.