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
@@ -48,7 +48,7 @@ This uses `stdenv.mkDerivation` which is a general nix builder for C and C++ pro
48
48
49
49
Your build should produce all of the sql and control files needed for the install phase.
50
50
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.
52
52
2.`git add .` as nix uses git to track changes
53
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`
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>`.
0 commit comments