Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated Nix vendorSha256 call with vendorHash #110

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Replace deprecated Nix vendorSha256 call with vendorHash #110

merged 1 commit into from
Jan 26, 2024

Conversation

patka-123
Copy link
Contributor

@patka-123 patka-123 commented Jan 26, 2024

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
Copy link
Member

Don't forget update-flake.sh too.

Signed-off-by: Patka <patka@patka.dev>
@patka-123
Copy link
Contributor Author

Don't forget update-flake.sh too.

Oops, that is now also done.

@patrickod patrickod merged commit d9de913 into tailscale:main Jan 26, 2024
4 checks passed
@patrickod
Copy link
Contributor

Thanks @patka-123!

@patka-123 patka-123 deleted the use-correct-nix-vendor-hash-function branch January 26, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants