mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Restore writing the version info correctly
This commit is contained in:
parent
d0b0cf7cd9
commit
24277a2ec8
1 changed files with 2 additions and 2 deletions
|
@ -9,11 +9,11 @@ buildGoPackage rec {
|
|||
goPackagePath = "sigs.k8s.io/kustomize";
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
buildFlagsArray = let t = "${goPackagePath}/pkg/commands"; in ''
|
||||
buildFlagsArray = let t = "${goPackagePath}/pkg/commands/misc"; in ''
|
||||
-ldflags=
|
||||
-s -X ${t}.kustomizeVersion=${version}
|
||||
-X ${t}.gitCommit=${rev}
|
||||
-X ${t}.buildDate=unknow
|
||||
-X ${t}.buildDate=unknown
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
Loading…
Reference in a new issue