classic snaps cannot find stage packages in $PATH

Bug #1681722 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

A classic snap can declare stage-packages to embed dependent binaries. However, /snap/$snapname/{usr/,usr/local/,}bin is not in the default $PATH so the snapped commands cannot locate dependent executables.

It currently seems to be a requirement to append the directories containing the dependencies to $PATH in a wrapper script. This could be done automatically.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.