← Back to issue list

classic snaps cannot find stage packages in $PATH

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1681722
Type
issue
State
open
Author
~stub
Labels
Created
2017-04-11 08:56:27.313545+00:00
Updated
2017-04-11 08:56:27.313545+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

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.

Evaluation history

No evaluation history available.