heroku / heroku-buildpack-go

Heroku Go Buildpack
https://devcenter.heroku.com/categories/go
MIT License
4 stars 1 forks source link

Custom build tags #439

Open ORBAT opened 3 years ago

ORBAT commented 3 years ago

Are custom build tags / constraints possible?

The previous issue about this (#365) was closed as it was resolved without actually needing custom build tags, but I've got a case where I'd need to include build tags so that I can enable features in one of my (external) dependencies.

matthewmueller commented 10 months ago

+1 this request. For my case, I need to be able to enable some extensions in go-sqlite3: https://github.com/mattn/go-sqlite3?tab=readme-ov-file#feature--extension-list

I hardcoded the tags in https://github.com/matthewmueller/heroku-buildpack-go, but it'd be great for this to land upstream.

Happy to open a PR if helpful.