mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
cockroachdb: specify build tag
This commit is contained in:
parent
0fa64b718f
commit
c346789a92
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ buildGoPackage rec {
|
|||
sha256 = "11camp588vsccxlc138l7x4qws2fj5wpx1177irzayqdng8dilx3";
|
||||
};
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X github.com/cockroachdb/cockroach/build.tag=${version}
|
||||
'';
|
||||
|
||||
buildInputs = [ gcc ];
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
|
Loading…
Reference in a new issue