The package fails to build with recent go-swag versions. We could have
used `go run github.com/swaggo/swag/cmd/swag`, but with the current Go
language framework in Nixpkgs this is really awkward since it’s hard to
infer proper GOOS/GOARCH/etc environment variables for the build
platform (and also reset environment variables intended for go build).