Skip to content

Commit 7dd2705

Browse files
samrosesoedirgo
andauthored
Update nix/docs/update-extension.md
Co-authored-by: Bobbie Soedirgo <[email protected]>
1 parent 7d8d5bb commit 7dd2705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/docs/update-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
1. Create a branch off of `develop`
66
2. For instance, if we were updating https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix we would:
77
1. change the `version = "2.2.1";` to whatever our git tag release version is that we want to update to
8-
2. temporarily empty the `hash = "sha256-wSUEG0at00TPAoHv6+NMzuUE8mfW6fnHH0MNxvBdUiE=";` to `hash = "";` and save https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix and `git add https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix`
8+
2. temporarily empty the `hash = "sha256-wSUEG0at00TPAoHv6+NMzuUE8mfW6fnHH0MNxvBdUiE=";` to `hash = "";` and save `supautils.nix` and `git add .`
99
3. run `nix build .#psql_15/exts/supautils` or the name of the extension to update, nix will print the calculated sha256 value that you can add back the the `hash` variable, save the file again, and re-run nix build .#psql_15/exts/supautils.
1010
4. Add any needed migrations into the `supabase/postgres` migrations directory
1111
5. You can then run tests locally to verify that the update of the package succeeded.

0 commit comments

Comments
 (0)