Which case is it?
The binary is in a local folder:
parts:
torxakis-bin:
# See 'snapcraft plugins'
plugin: dump
source: .stack-work/install/x86_64-linux-nopie/lts-9.7/8.0.2/bin/
stage-packages: []
As a side note, “snap” is either a package, or the snap tool. Neither of them is involved here. The behavior conversation is all around snapcraft.
You’re right. In this case I’m referring to snapcraft
.