tailscale / golink

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

Replace deprecated Nix vendorSha256 call with vendorHash #110

Closed patka-123 closed 8 months ago

patka-123 commented 8 months ago

When including the flake into my nixos system and doing a rebuild I get the following error:

trace: warning: 'vendorSha256' is deprecated. Use 'vendorHash' instead

The vendorHash function is a drop in replacement, so with this PR the warning will be gone.

(The deprecation of vendorSha256 can be verified by checking the nixos 23.11 release notes that say "The argument vendorSha256 of buildGoModule is deprecated. Use vendorHash instead. Refer to PR #259999 for more details.")

bradfitz commented 8 months ago

Don't forget update-flake.sh too.

patka-123 commented 8 months ago

Don't forget update-flake.sh too.

Oops, that is now also done.

patrickod commented 8 months ago

Thanks @patka-123!