Environment variables that Snapcraft consumes


#1

NOTE: This table is NOT complete nor error-free, feel free to extend/fix it.

Name & Description Typical Values
SNAPCRAFT_BUILD_ENVIRONMENT
Refer The SNAPCRAFT_BUILD_ENVIRONMENT environment variable for more info
[host|managed-host|multipass]
(lxd has been obsoleted in Snapcraft 3.0 new syntax)
SNAPCRAFT_ENABLE_DEVELOPER_DEBUG
Enable verbose debugging messages, refer Debugging snapcraft for more info
[y|yes|t|true|on|1|n|no|f|false|off|0]
(A Python distutils.util.strtobool boolean value) (source)