Skip to content

Commit c86d9f2

Browse files
committed
flake.nix: rename package to just "tailscale".
There is no unstability inherent in this package, it's just unstable if you choose to import the flake at the main branch. Signed-off-by: David Anderson <danderson@tailscale.com>
1 parent 7bfb999 commit c86d9f2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

flake.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@
9191
# or the empty string when building from a local checkout of the
9292
# tailscale repo.
9393
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".
9898
#
9999
# This is currently unfortunately brittle, because we have to
100100
# specify vendorSha256, and that sha changes any time we alter
@@ -108,8 +108,8 @@
108108
# So really, this flake is for tailscale devs to dogfood with, if
109109
# you're an end user you should be prepared for this flake to not
110110
# build periodically.
111-
tailscaleUnstable = pkgs: pkgs.buildGo119Module rec {
112-
name = "tailscale-unstable";
111+
tailscale = pkgs: pkgs.buildGo119Module rec {
112+
name = "tailscale";
113113

114114
src = ./.;
115115
vendorSha256 = fileContents ./go.mod.sri;
@@ -133,11 +133,11 @@
133133
flakeForSystem = nixpkgs: system: let
134134
upstreamPkgs = nixpkgs.legacyPackages.${system};
135135
pkgs = pkgsWithTailscaleGo upstreamPkgs;
136-
ts = tailscaleUnstable pkgs;
136+
ts = tailscale pkgs;
137137
in {
138138
packages = {
139139
tailscale-go = pkgs.tailscale-go;
140-
tailscale-unstable = ts;
140+
tailscale = ts;
141141
};
142142
devShell = pkgs.mkShell {
143143
packages = with upstreamPkgs; [

0 commit comments

Comments
 (0)