mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
Some packaging frameworks (dh-golang in partcular) invokes go generate. Our code calls `go run ..` to generate some output files. In particular, when building with Go modules support, we must pass -mod=vendor occasionally. Allow the build code to set an environment variables with flags that shall be passed to go run. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>