Merge pull request #114763 from timds/master

wal-g: enable support for brotli compression
This commit is contained in:
Sandro 2021-03-01 17:45:25 +01:00 committed by GitHub
commit cca3dfe456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,10 @@ buildGoModule rec {
subPackages = [ "main/pg" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=${version} -X github.com/wal-g/wal-g/cmd/pg.GitRevision=${src.rev}" ];
buildFlagsArray = [
"-tags=brotli"
"-ldflags=-s -w -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=${version} -X github.com/wal-g/wal-g/cmd/pg.GitRevision=${src.rev}"
];
postInstall = ''
mv $out/bin/pg $out/bin/wal-g