You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nix/docs/adding-new-package.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Your build should produce all of the sql and control files needed for the instal
50
50
51
51
1. Once you have created this file, you can add it to `nix/ext/<yourname>.nix` and edit `flake.nix` and add it to the `ourExtensions` list.
52
52
2.`git add .` as nix uses git to track changes
53
-
3. In your package file, temporarily empty the `hash = "sha256<...>=";` to `hash = "";` and save and `git add https://github.com/supabase/postgres/blob/develop/nix/ext/supautils.nix`
53
+
3. In your package file, temporarily empty the `hash = "sha256<...>=";` to `hash = "";` and save and `git add .`
54
54
4. Run `nix build .#psql_15/exts/<yourname>` to try to trigger a build, 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/<yourname>`.
55
55
5. Add any needed migrations into the `supabase/postgres` migrations directory.
56
56
6. You can then run tests locally to verify that the update of the package succeeded.
0 commit comments