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 104
104
# use, but even if they did, keeping our own copies means that we can
105
105
# rollout new versions of these critical things easier without having to
106
106
# go through the upstream release engineering process.
107
- ourExtensions = let
108
- baseExtensions = [
107
+ ourExtensions = [
109
108
./nix/ext/rum.nix
110
109
./nix/ext/timescaledb.nix
111
110
./nix/ext/pgroonga.nix
124
123
./nix/ext/pg_cron.nix
125
124
./nix/ext/pgsql-http.nix
126
125
./nix/ext/pg_plan_filter.nix
126
+ ./nix/ext/pg_net.nix
127
127
./nix/ext/pg_hashids.nix
128
128
./nix/ext/pgsodium.nix
129
129
./nix/ext/pg_graphql.nix
137
137
./nix/ext/supautils.nix
138
138
./nix/ext/plv8.nix
139
139
] ;
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 ] ;
145
140
146
- in baseExtensions ++ pgNetExtension ;
147
141
#Where we import and build the orioledb extension, we add on our custom extensions
148
142
# plus the orioledb option
149
143
#we're not using timescaledb in the orioledb version of supabase extensions
445
439
--subst-var-by 'LOCALES' '${ localeArchive } ' \
446
440
--subst-var-by 'EXTENSION_CUSTOM_SCRIPTS_DIR' "$out/extension-custom-scripts" \
447
441
--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 } '
450
443
451
444
chmod +x $out/bin/start-postgres-server
452
445
'' ;
Original file line number Diff line number Diff line change 2
2
3
3
stdenv . mkDerivation rec {
4
4
pname = "pg_net" ;
5
- version = "0.11 .0" ;
5
+ version = "0.13 .0" ;
6
6
7
7
buildInputs = [ curl postgresql ] ;
8
8
9
9
src = fetchFromGitHub {
10
10
owner = "supabase" ;
11
11
repo = pname ;
12
12
rev = "refs/tags/v${ version } " ;
13
- hash = "sha256-XN441jXK1q+I/LZRNwvzbSsebXHgZ8iYsslZvcPFlAs =" ;
13
+ hash = "sha256-FRaTZPCJQPYAFmsJg22hYJJ0+gH1tMdDQoCQgiqEnaA =" ;
14
14
} ;
15
15
16
16
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@
32
32
GROONGA=@GROONGA_DIR@
33
33
DATDIR=$( mktemp -d)
34
34
LOCALE_ARCHIVE=@LOCALES@
35
- CURRENT_SYSTEM=@CURRENT_SYSTEM@
36
35
export LOCALE_ARCHIVE
37
36
export LANG=en_US.UTF-8
38
37
export LANGUAGE=en_US.UTF-8
39
38
export LC_ALL=en_US.UTF-8
40
39
export LANG=en_US.UTF-8
41
40
export LC_CTYPE=en_US.UTF-8
42
- echo " Current system is $CURRENT_SYSTEM "
43
41
mkdir -p " $DATDIR "
44
42
echo " NOTE: using port $PORTNO for server"
45
43
echo " NOTE: using temporary directory $DATDIR for data, which will not be removed"
You can’t perform that action at this time.
0 commit comments