mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
tailscale: buildFlagsArray -> ldflags, tags
This commit is contained in:
parent
0e50afedc1
commit
a6b80311eb
@ -21,12 +21,9 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "cmd/tailscale" "cmd/tailscaled" ];
|
||||
|
||||
preBuild = ''
|
||||
export buildFlagsArray=(
|
||||
-tags="xversion"
|
||||
-ldflags="-X tailscale.com/version.Long=${version} -X tailscale.com/version.Short=${version}"
|
||||
)
|
||||
'';
|
||||
tags = [ "xversion" ];
|
||||
|
||||
ldflags = [ "-X tailscale.com/version.Long=${version}" "-X tailscale.com/version.Short=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/tailscaled --prefix PATH : ${
|
||||
|
Loading…
Reference in New Issue
Block a user