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:
Darren Rambaud
2026-02-28 20:35:45 -06:00
parent 79d917984e
commit 2a35049468
+2 -2
View File
@@ -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 = {