File tree Expand file tree Collapse file tree 4 files changed +7
-21
lines changed Expand file tree Collapse file tree 4 files changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ postgres_major:
1111
1212# Full version strings for each major version
1313postgres_release :
14- postgres15 : " 15.8.1.005 "
15- postgres16 : " 16.3.1.011 "
14+ postgres15 : " 15.8.1.006 "
15+ postgres16 : " 16.3.1.012 "
1616
1717# Non Postgres Extensions
1818pgbouncer_release : " 1.19.0"
Original file line number Diff line number Diff line change 128128 # use, but even if they did, keeping our own copies means that we can
129129 # rollout new versions of these critical things easier without having to
130130 # go through the upstream release engineering process.
131- ourExtensions = let
132- baseExtensions = [
131+ ourExtensions = [
133132 ./nix/ext/rum.nix
134133 ./nix/ext/timescaledb.nix
135134 ./nix/ext/pgroonga.nix
148147 ./nix/ext/pg_cron.nix
149148 ./nix/ext/pgsql-http.nix
150149 ./nix/ext/pg_plan_filter.nix
150+ ./nix/ext/pg_net.nix
151151 ./nix/ext/pg_hashids.nix
152152 ./nix/ext/pgsodium.nix
153153 ./nix/ext/pg_graphql.nix
161161 ./nix/ext/supautils.nix
162162 ./nix/ext/plv8.nix
163163 ] ;
164-
165- # Add pg_net only if NOT on macOS aarch64
166- pgNetExtension = if ( system == "aarch64-darwin" )
167- then [ ]
168- else [ ./nix/ext/pg_net.nix ] ;
169164
170- in baseExtensions ++ pgNetExtension ;
171165 #Where we import and build the orioledb extension, we add on our custom extensions
172166 # plus the orioledb option
173167 orioledbExtension = ourExtensions ++ [ ./nix/ext/orioledb.nix ] ;
467461 --subst-var-by 'LOCALES' '${ localeArchive } ' \
468462 --subst-var-by 'EXTENSION_CUSTOM_SCRIPTS_DIR' "$out/extension-custom-scripts" \
469463 --subst-var-by 'MECAB_LIB' '${ basePackages . psql_15 . exts . pgroonga } /lib/groonga/plugins/tokenizers/tokenizer_mecab.so' \
470- --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } ' \
471- --subst-var-by 'CURRENT_SYSTEM' '${ system } '
464+ --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } '
472465
473466 chmod +x $out/bin/start-postgres-server
474467 '' ;
Original file line number Diff line number Diff line change 22
33stdenv . mkDerivation rec {
44 pname = "pg_net" ;
5- version = "0.11 .0" ;
5+ version = "0.13 .0" ;
66
77 buildInputs = [ curl postgresql ] ;
88
99 src = fetchFromGitHub {
1010 owner = "supabase" ;
1111 repo = pname ;
1212 rev = "refs/tags/v${ version } " ;
13- hash = "sha256-XN441jXK1q+I/LZRNwvzbSsebXHgZ8iYsslZvcPFlAs =" ;
13+ hash = "sha256-FRaTZPCJQPYAFmsJg22hYJJ0+gH1tMdDQoCQgiqEnaA =" ;
1414 } ;
1515
1616 env . NIX_CFLAGS_COMPILE = "-Wno-error" ;
Original file line number Diff line number Diff line change @@ -32,14 +32,12 @@ EXTENSION_CUSTOM_SCRIPTS=@EXTENSION_CUSTOM_SCRIPTS_DIR@
3232GROONGA=@GROONGA_DIR@
3333DATDIR=$( mktemp -d)
3434LOCALE_ARCHIVE=@LOCALES@
35- CURRENT_SYSTEM=@CURRENT_SYSTEM@
3635export LOCALE_ARCHIVE
3736export LANG=en_US.UTF-8
3837export LANGUAGE=en_US.UTF-8
3938export LC_ALL=en_US.UTF-8
4039export LANG=en_US.UTF-8
4140export LC_CTYPE=en_US.UTF-8
42- echo " Current system is $CURRENT_SYSTEM "
4341mkdir -p " $DATDIR "
4442echo " NOTE: using port $PORTNO for server"
4543echo " NOTE: using temporary directory $DATDIR for data, which will not be removed"
@@ -63,10 +61,5 @@ pgsodium.getkey_script = '$PGSODIUM_GETKEY_SCRIPT'" \
6361-e " \$ a\\
6462session_preload_libraries = 'supautils'" \
6563" $PSQL_CONF_FILE " > " $DATDIR /postgresql.conf"
66- if [ " $CURRENT_SYSTEM " = " aarch64-darwin" ]; then
67- echo " NOTE: using aarch64-darwin system"
68- sed -i ' ' ' s/ pg_net,//g' " $DATDIR /postgresql.conf"
69- sed -i ' ' ' s/ pg_net,//g' " $DATDIR /supautils.conf"
70- fi
7164export GRN_PLUGINS_DIR=$GROONGA /lib/groonga/plugins
7265postgres --config-file=" $DATDIR /postgresql.conf" -p " $PORTNO " -D " $DATDIR " -k /tmp
You can’t perform that action at this time.
0 commit comments