@ -44,7 +44,7 @@
# tailscaleRev is the git commit at which this flake was imported,
# tailscaleRev is the git commit at which this flake was imported,
# or the empty string when building from a local checkout of the
# or the empty string when building from a local checkout of the
# tailscale repo.
# tailscale repo.
tailscaleRev = if builtins . hasAttr " r e v " self then self . rev else " " ;
tailscaleRev = self . rev or " " ;
# tailscale takes a nixpkgs package set, and builds Tailscale from
# tailscale takes a nixpkgs package set, and builds Tailscale from
# the same commit as this flake. IOW, it provides "tailscale built
# the same commit as this flake. IOW, it provides "tailscale built
# from HEAD", where HEAD is "whatever commit you imported the
# from HEAD", where HEAD is "whatever commit you imported the
@ -68,7 +68,7 @@
src = ./. ;
src = ./. ;
vendorSha256 = pkgs . lib . fileContents ./go.mod.sri ;
vendorSha256 = pkgs . lib . fileContents ./go.mod.sri ;
nativeBuildInputs = pkgs . lib . optionals pkgs . stdenv . isLinux [ pkgs . makeWrapper ] ;
nativeBuildInputs = pkgs . lib . optionals pkgs . stdenv . isLinux [ pkgs . makeWrapper ] ;
ldflags = [ " - X t a i l s c a l e . c o m / v e r s i o n . G i t C o m m i t = ${ tailscaleRev } " ] ;
ldflags = [ " - X t a i l s c a l e . c o m / v e r s i o n . g i t C o m m i t S t a m p = ${ tailscaleRev } " ] ;
CGO_ENABLED = 0 ;
CGO_ENABLED = 0 ;
subPackages = [ " c m d / t a i l s c a l e " " c m d / t a i l s c a l e d " ] ;
subPackages = [ " c m d / t a i l s c a l e " " c m d / t a i l s c a l e d " ] ;
doCheck = false ;
doCheck = false ;