diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 13:31:57 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 15:43:28 +1000 |
commit | e6494966dd6a8dcd6d4cb5663f093a57bcc2593e (patch) | |
tree | 118b30b346e74d9480a58d316f0817a42367350f /pkgs/applications/networking/cluster/kube-router | |
parent | e3cdd952fdcbf2ff6181fd32d69d32a2ccb1daef (diff) |
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/applications/networking/cluster/kube-router')
-rw-r--r-- | pkgs/applications/networking/cluster/kube-router/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/applications/networking/cluster/kube-router/default.nix b/pkgs/applications/networking/cluster/kube-router/default.nix index 85b83c994df88..b9a282b5cd161 100644 --- a/pkgs/applications/networking/cluster/kube-router/default.nix +++ b/pkgs/applications/networking/cluster/kube-router/default.nix @@ -13,13 +13,10 @@ buildGoPackage rec { sha256 = "sha256-/VToLQexvRtcBU+k8WnGEcfLfxme/hgRnhU8723BEFU="; }; - buildFlagsArray = '' - -ldflags= - -X - ${goPackagePath}/pkg/cmd.version=${version} - -X - ${goPackagePath}/pkg/cmd.buildDate=Nix - ''; + ldflags = [ + "-X ${goPackagePath}/pkg/cmd.version=${version}" + "-X ${goPackagePath}/pkg/cmd.buildDate=Nix" + ]; meta = with lib; { homepage = "https://www.kube-router.io/"; |