-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flake.nix: refactor and correctly propagate tailscale version when de…
…ploying with nix - use flake-parts instead of flake-utils - fix wrong version info by setting ldflags `"-X tailscale.com/version.longStamp=${tsVersion}"` and `"-X tailscale.com/version.shortStamp=${tsVersion}"`, where `tsVersion` is matched from `go.mod` using regex - originally, `services.golink.package` is set to `pkgs.golink` by default (which is fine), however, the module does not apply the defined overlay, causing the module to use [the outdated golink from nixpkgs](https://search.nixos.org/packages?channel=unstable&show=golink&from=0&size=50&sort=relevance&type=packages&query=golink) - update the dev shell go from 1.21 to 1.23 Signed-off-by: Yifei Sun <[email protected]>
- Loading branch information
Showing
2 changed files
with
162 additions
and
165 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters