File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 128
128
./nix/ext/wrappers/default.nix
129
129
./nix/ext/supautils.nix
130
130
./nix/ext/plv8.nix
131
- ./nix/ext/pljava.nix
132
131
] ;
133
132
134
133
#Where we import and build the orioledb extension, we add on our custom extensions
413
412
--subst-var-by 'PGSQL_SUPERUSER' '${ pgsqlSuperuser } ' \
414
413
--subst-var-by 'PSQL15_BINDIR' '${ basePackages . psql_15 . bin } ' \
415
414
--subst-var-by 'PSQL_CONF_FILE' '${ configFile } ' \
416
- --subst-var-by 'PGSODIUM_GETKEY' '${ getkeyScript } ' \
417
- --subst-var-by 'LIBJVM_LOCATION' '${ pkgs . openjdk11 } /lib/openjdk/lib/server/libjvm.so'
415
+ --subst-var-by 'PGSODIUM_GETKEY' '${ getkeyScript } '
418
416
419
417
chmod +x $out/bin/start-postgres-server
420
418
'' ;
477
475
pkgs . runCommand "postgres-${ pgpkg . version } -check-harness"
478
476
{
479
477
nativeBuildInputs = with pkgs ; [ coreutils bash pgpkg pg_prove procps ] ;
480
- propagatedBuildInputs = with pkgs ; [ openjdk11 ] ;
481
478
} ''
482
479
export PGDATA=/tmp/pgdata
483
480
mkdir -p $PGDATA
484
481
initdb --locale=C
485
482
486
483
substitute ${ ./nix/tests/postgresql.conf.in } $PGDATA/postgresql.conf \
487
- --subst-var-by PGSODIUM_GETKEY_SCRIPT "${ ./nix/tests/util/pgsodium_getkey.sh } " \
488
- --subst-var-by PLJAVA_LIBJVM_LOCATION "${ pkgs . openjdk11 } /lib/openjdk/lib/server/libjvm.so"
489
-
484
+ --subst-var-by PGSODIUM_GETKEY_SCRIPT "${ ./nix/tests/util/pgsodium_getkey.sh } "
490
485
491
486
postgres -k /tmp >logfile 2>&1 &
492
487
sleep 2
Original file line number Diff line number Diff line change 39
39
initdb -U " $PGSQL_SUPERUSER " -D " $DATDIR " --locale=C
40
40
41
41
echo " NOTE: patching postgresql.conf files"
42
- echo " pljava libjvm location: $PLJAVA_LIBJVM_LOCATION "
43
42
sed -e " s#@PGSODIUM_GETKEY_SCRIPT@#$PGSODIUM_GETKEY_SCRIPT #g" \
44
- -e " s#@PLJAVA_LIBJVM_LOCATION@#$PLJAVA_LIBJVM_LOCATION #g" \
45
43
$PSQL_CONF_FILE > " $DATDIR /postgresql.conf"
46
44
47
45
exec postgres -p " $PORTNO " -D " $DATDIR " -k /tmp
You can’t perform that action at this time.
0 commit comments