mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
Merge pull request #18793 from rushmorem/cockroachdb-flags
cockroachdb: specify build tag
This commit is contained in:
commit
c999b6b787
|
@ -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