snapcraft: Set GO111MODULE=on in override-build script
authorAnthony Fok <foka@debian.org>
Tue, 25 Sep 2018 04:15:42 +0000 (22:15 -0600)
committerAnthony Fok <foka@debian.org>
Tue, 25 Sep 2018 04:15:42 +0000 (22:15 -0600)
commitb7706d6aec1c30770f180c9b45df132ba22c87f8
tree3a21505f88c2ddda618b68d1e51621822a8f3cd8
parent48413d76f44ecfc9b90f9df63974080f6b285667
snapcraft: Set GO111MODULE=on in override-build script

Apparently, snapcraft's yet-to-be-documented environment declaration
feature is for run-time only.

See https://discourse.gohugo.io/t/hugo-0-48-released/13908/9
and https://forum.snapcraft.io/t/declaratively-defining-environment-variables/175/29
snapcraft.yaml