Home

blog @main - refs - log -
-
https://git.jolheiser.com/blog.git
My nonexistent blog
tree log patch
fix: corrections for gomodsri Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmZRXzoACgkQuFOtpdp7 v3oSdRAArWkPZa0Fi3gUxS3h/Zgviiaf2egRYCh0sl0hEGQ4r+nRbzTzO96CNRRY 24dY2xAXXGVCsPA5OdthRryyjDXE5JCROywmtt5lGN/kLEYnTYhHsGeF0eSFh14f qdGP6PRykgeY3rw4I8WbiTjAUUF3d2mdFo1GU2PdCq6yCTVN4v03M5in8j2U9+LA J5QOuS89SvorXshvj0wmlZVLV0GD5YF1SHFlz0mqIgVvHPsEF3x258GTBQqcaVwQ T26LZA1QM4KhFW0JF3hkZvKK7AcX0Man9A73hTeB9Ezy8k1W74t5QceS8BG4zaXF lbtHtEa0CpqaCTKPv5Q6Cme9aJW2sMkStzmY11h53uJo6FlSNrzNA3G4+yxgsQK/ 6Lh6+Wpgz2npyJIkDQtqJH/a5LJ+uLgO9ZV3TfTF6Lt97XporoAHBI7ZOOvb7tz5 8BC/QKqQHczO5D2K2ARaznAIieUZTVUQM6unPSc8d6/pcwzW0yBou/stygSTFBSn WBhuTOEtKsmdFk8yyn96JcbqrE91j4vkk9gIjiDQ9ruYikzeBKO3xhWVyN2drbe0 REkV0Kzvu3wqm7T8qcVEWkDg37P6JrbCqc429r91lT38RIoRFA/yFyIEWcon+JAH 0+fmu5raIvtmVmgel95qUoJUkJ/dT20mrE1q3i6IPBX/rBUVM6Y= =3Hn/ -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
7 months ago
1 changed files, 2 additions(+), 2 deletions(-)
M articles/gomodsri.md -> articles/gomodsri.md
diff --git a/articles/gomodsri.md b/articles/gomodsri.md
index 0db9c867ae5e27317291da7db2cc437bcb3328c7..2684f50c0b816c2e6401d2a770ee5b19f2be8cb0 100644
--- a/articles/gomodsri.md
+++ b/articles/gomodsri.md
@@ -9,13 +9,13 @@ ### The problem
 
 When building a Go module with `nix`, generally one uses `buildGoModule`. One thing this shares with other builders in the nix ecosystem is `vendorHash` (or similar name).
 
-Although there _have_ been various workarounds, there's usually no getting around some variation of building, noting the "expected" new hash, and replacing the hash with the correct one before building works for real.
+Although there _have_ been various workarounds, there's usually no getting around some variation of building, noting the "expected" new hash, and replacing the old hash with the correct one before building works for real.
 
 ### The solution
 
 Now, admittedly I am borrowing this idea from [tailscale](https://tailscale.com). I simply wrapped it in a (nu)shell command for easier usage more generically.
 
-The original idea combines the command [nardump](https://github.com/tailscale/tailscale/tree/ad33e47270509345469af795aed65177df88904e/cmd/nardump) with the [vendoring](https://pkg.go.dev/cmd/go#hdr-Make_vendored_copy_of_dependencies) ability of Go modules to predict the `vendorHash`. Put together, it can look something like the following:
+The original idea combines the [nardump](https://github.com/tailscale/tailscale/tree/ad33e47270509345469af795aed65177df88904e/cmd/nardump) command with the [vendoring](https://pkg.go.dev/cmd/go#hdr-Make_vendored_copy_of_dependencies) ability of Go modules to predict the `vendorHash`. Put together, it can look something like the following:
 
 - [update-flake.sh](https://github.com/tailscale/tailscale/blob/ad33e47270509345469af795aed65177df88904e/update-flake.sh#L9-L10)
 ```sh