Skip to content

Commit 90d07d8

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

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
@@ -48,7 +48,7 @@ This uses `stdenv.mkDerivation` which is a general nix builder for C and C++ pro
4848

4949
Your build should produce all of the sql and control files needed for the install phase.
5050

51-
1. Once you have created this file, you can add it to `nix/exts/<yourname>.nix` and edit `flake.nix` and add it to the `ourExtensions` list.
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.
5252
2. `git add .` as nix uses git to track changes
5353
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`
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>`.

0 commit comments

Comments
 (0)