File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed
Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 104104 # use, but even if they did, keeping our own copies means that we can
105105 # rollout new versions of these critical things easier without having to
106106 # go through the upstream release engineering process.
107- ourExtensions = let
108- baseExtensions = [
107+ ourExtensions = [
109108 ./nix/ext/rum.nix
110109 ./nix/ext/timescaledb.nix
111110 ./nix/ext/pgroonga.nix
124123 ./nix/ext/pg_cron.nix
125124 ./nix/ext/pgsql-http.nix
126125 ./nix/ext/pg_plan_filter.nix
126+ ./nix/ext/pg_net.nix
127127 ./nix/ext/pg_hashids.nix
128128 ./nix/ext/pgsodium.nix
129129 ./nix/ext/pg_graphql.nix
137137 ./nix/ext/supautils.nix
138138 ./nix/ext/plv8.nix
139139 ] ;
140-
141- # Add pg_net only if NOT on macOS aarch64
142- pgNetExtension = if ( system == "aarch64-darwin" )
143- then [ ]
144- else [ ./nix/ext/pg_net.nix ] ;
145140
146- in baseExtensions ++ pgNetExtension ;
147141 #Where we import and build the orioledb extension, we add on our custom extensions
148142 # plus the orioledb option
149143 #we're not using timescaledb in the orioledb version of supabase extensions
445439 --subst-var-by 'LOCALES' '${ localeArchive } ' \
446440 --subst-var-by 'EXTENSION_CUSTOM_SCRIPTS_DIR' "$out/extension-custom-scripts" \
447441 --subst-var-by 'MECAB_LIB' '${ basePackages . psql_15 . exts . pgroonga } /lib/groonga/plugins/tokenizers/tokenizer_mecab.so' \
448- --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } ' \
449- --subst-var-by 'CURRENT_SYSTEM' '${ system } '
442+ --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } '
450443
451444 chmod +x $out/bin/start-postgres-server
452445 '' ;
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"
You can’t perform that action at this time.
0 commit comments