|
91 | 91 | # or the empty string when building from a local checkout of the |
92 | 92 | # tailscale repo. |
93 | 93 | tailscaleRev = if builtins.hasAttr "rev" self then self.rev else ""; |
94 | | - # tailscaleUnstable takes a nixpkgs package set, and builds |
95 | | - # Tailscale from the same commit as this flake. IOW, it provides |
96 | | - # "tailscale built from HEAD", where HEAD is "whatever commit you |
97 | | - # imported the flake at". |
| 94 | + # tailscale takes a nixpkgs package set, and builds Tailscale from |
| 95 | + # the same commit as this flake. IOW, it provides "tailscale built |
| 96 | + # from HEAD", where HEAD is "whatever commit you imported the |
| 97 | + # flake at". |
98 | 98 | # |
99 | 99 | # This is currently unfortunately brittle, because we have to |
100 | 100 | # specify vendorSha256, and that sha changes any time we alter |
|
108 | 108 | # So really, this flake is for tailscale devs to dogfood with, if |
109 | 109 | # you're an end user you should be prepared for this flake to not |
110 | 110 | # build periodically. |
111 | | - tailscaleUnstable = pkgs: pkgs.buildGo119Module rec { |
112 | | - name = "tailscale-unstable"; |
| 111 | + tailscale = pkgs: pkgs.buildGo119Module rec { |
| 112 | + name = "tailscale"; |
113 | 113 |
|
114 | 114 | src = ./.; |
115 | 115 | vendorSha256 = fileContents ./go.mod.sri; |
|
133 | 133 | flakeForSystem = nixpkgs: system: let |
134 | 134 | upstreamPkgs = nixpkgs.legacyPackages.${system}; |
135 | 135 | pkgs = pkgsWithTailscaleGo upstreamPkgs; |
136 | | - ts = tailscaleUnstable pkgs; |
| 136 | + ts = tailscale pkgs; |
137 | 137 | in { |
138 | 138 | packages = { |
139 | 139 | tailscale-go = pkgs.tailscale-go; |
140 | | - tailscale-unstable = ts; |
| 140 | + tailscale = ts; |
141 | 141 | }; |
142 | 142 | devShell = pkgs.mkShell { |
143 | 143 | packages = with upstreamPkgs; [ |
|
0 commit comments