bsiegert / BulkTracker

Track bulk build status in pkgsrc
Other
8 stars 1 forks source link

Missing makefile to regen ddao/queries.sql.go #68

Closed riastradh closed 3 months ago

riastradh commented 4 months ago

How do I regenerate this when I've changed queries.sql?

I tried installing databases/sqlc from pkgsrc, but it fails:

ddao/manual_additions.go:157:9: cannot use d.getAllPkgsMatching(ctx, "%" + substr + "%") (value of type []interface{}) as []string value in return statement

It appears to be somewhat out-of-date.

bsiegert commented 4 months ago

You will need to run sqlc generate with wip/sqlc. However, IIRC, I couldn't get that version to compile on NetBSD because it depends on some WebAssembly thing that is missing NetBSD support :(

bsiegert commented 3 months ago

I updated https://pkgsrc.se/databases/sqlc to 1.26.0, so this should work now. Thanks for the feedback.