tailscale / golink

A private shortlink service for tailnets
BSD 3-Clause "New" or "Revised" License
1.25k stars 80 forks source link

Deployment with NixOS module has Tailscale version `1.57.0-ERR-BuildInfo` #153

Open stepbrobd opened 3 hours ago

stepbrobd commented 3 hours ago

Relavent #140 #141

I use the golink.nixosModules.default module to deploy golink on my NixOS machine (pinned to 2ecf9ef4d51e9b3d27cb0c2ab0fb8a0ef4543b6e)

After deployment, the Tailscale version is listed as 1.57.0-ERR-BuildInfo on my admin page

Screenshot 2024-11-30 at 22 11 44

Is it possible that this is caused by git not being available in nativeBuildInputs (how #141 resolves this)?

stepbrobd commented 3 hours ago

Btw gomod2nix can generate a toml lock file that tracks go.sum

Is it ideal to replace the update-flake.sh with gomod2nix? If yes, I can draft up a PR pretty quickly