oathkeeper: fix ldflags for build info
* version and commit changed to `oathkeeper/x/version.go` since at least ~0.31.0 Resolves NixOS/nixpkgs#495394
This commit is contained in:
@@ -32,8 +32,8 @@ buildGoModule {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/ory/oathkeeper/internal/driver/config.Version=${version}"
|
||||
"-X github.com/ory/oathkeeper/internal/driver/config.Commit=${commit}"
|
||||
"-X github.com/ory/oathkeeper/x.Version=${version}"
|
||||
"-X github.com/ory/oathkeeper/x.Commit=${commit}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user