Home

blog @main - refs - log -
-
https://git.jolheiser.com/blog.git
My nonexistent blog
tree log patch
chore: update gomodsri Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmaNqP0ACgkQuFOtpdp7 v3qoSg//bqxHMyfyxwvNgh6an1BUqXQjcxz3WK87pfC8hqkQ7Vy2/fpV1uVAbu4a 82y7dukKV0q4sLYuW+6ixuadeTymiYfyzjTI5bNI16u9ruB9zEFhw6bz0RoJ7MQs qxEgDeRJBwbM+9LQ6/0HLj/TgWJm8bXeRsYgbl4hdl0y7huwvALSuwcCWHWonBWR vNOQUupu6FH9QnU8wc2esjX5obJOEh/4k7nQBExg9r6Ys4AQUBSBM52yle0KLf0H 45Af7JeJE3p/oTrpSENpoqNK6RMHyYl+MxytUDKi9d24Fe4MiJH1KZIg+rP6rPmn OsMXKXFPDSRASzL/rk8Qp7WfRpCZj5Gu6w/WwUuCy0giGLWbPnHnJUUjrFihS1Vy E6D+HEsgjCHazqJ6iIaC0YFnc+3+MALVKuPjbsA4LIaJnJ9yCghPcDTOOykLQfX+ ES1C7qnasTg11/AumDmB4+kWE7igGCkNXdwfEBj6MP3DUgtUOcik87Ild/dviCfz 1ebWCrEZObbCltYte0jVgqz6KdBDhZDQTGmF0McS+ZUOiaepZmqik+T1swPOdvsu v3fJXzMvl0kbvC9PVK42aLDlGxWBbAt7LIA9npXXgJ73PlLsJUhzJCVn4GSp9Ja6 rBwKuNTn+Krxj8IgFb40B8EQZg2l9JKGXC/u4PJnLvQCZvsmH+k= =XNU2 -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
4 months ago
1 changed files, 4 additions(+), 4 deletions(-)
M articles/gomodsri.md -> articles/gomodsri.md
diff --git a/articles/gomodsri.md b/articles/gomodsri.md
index 8dda2d8cb7679b0fa0603377cbcbca2593f3f5eb..874822d1a164001ef303151ecfa1520bf088f765 100644
--- a/articles/gomodsri.md
+++ b/articles/gomodsri.md
@@ -7,13 +7,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).
+When building a Go module with `nix`, generally you would use `buildGoModule`. One thing it shares with other builders in the nix ecosystem is a `vendorHash` property (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 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.
+Now, I am admittedly borrowing this idea from [tailscale](https://tailscale.com). I simply wrapped it in a (nu)shell command for easier generic usage.
 
 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:
 
@@ -35,7 +35,7 @@ }
 ```
 ---
 
-I've modified it locally to use across other projects as the following nushell function:
+I've modified it to use across other projects as the following nushell function:
 
 ```nu
 def gomodsri [] {
@@ -47,4 +47,4 @@   rm -rf $tmp
   echo 'nixpkgs.lib.fileContents ./go.mod.sri'
 }
 ```
-<small>Yes, the echo at the end is because I always forget the invocation otherwise...</small>
+<small>The echo at the end is because I always forget the invocation otherwise...</small>