Skip to content

Commit c1eb33e

Browse files
samrosesoedirgo
andauthored
Update nix/docs/adding-new-package.md
Co-authored-by: Bobbie Soedirgo <[email protected]>
1 parent 90d07d8 commit c1eb33e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/docs/adding-new-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Your build should produce all of the sql and control files needed for the instal
5050

5151
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.
5252
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 .`
5454
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>`.
5555
5. Add any needed migrations into the `supabase/postgres` migrations directory.
5656
6. You can then run tests locally to verify that the update of the package succeeded.

0 commit comments

Comments
 (0)