mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
wal-g: buildFlagsArray -> ldflags, tags
This commit is contained in:
parent
a6b80311eb
commit
bdae2bcc6a
@ -17,10 +17,9 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "main/pg" ];
|
||||
|
||||
buildFlagsArray = [
|
||||
"-tags=brotli libsodium"
|
||||
"-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}"
|
||||
];
|
||||
tags = [ "brotli" "libsodium" ];
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user