File tree Expand file tree Collapse file tree 6 files changed +10
-17
lines changed
Expand file tree Collapse file tree 6 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 172172 start-postgres-server-bin
173173 which
174174 getkey-script
175+ supabase-groonga
175176 python3
176177 netcat
177178 ] ;
257258 export HTTP_MOCK_PORT
258259
259260 #First we need to create a generic pg cluster for pgtap tests and run those
260- export GRN_PLUGINS_DIR=${ pgroonga . passthru . groonga } /lib/groonga/plugins
261+ export GRN_PLUGINS_DIR=${ pkgs . supabase- groonga} /lib/groonga/plugins
261262 PGTAP_CLUSTER=$(mktemp -d)
262263 log info "Creating temporary PostgreSQL cluster at $PGTAP_CLUSTER"
263264 log_cmd initdb --locale=C --username=supabase_admin -D "$PGTAP_CLUSTER"
Original file line number Diff line number Diff line change 99 makeWrapper ,
1010 xxHash ,
1111 buildEnv ,
12+ supabase-groonga ,
1213 mecab-naist-jdic ,
13- callPackage ,
1414} :
1515let
16- # Import groonga locally since it's only used by pgroonga
17- supabase-groonga = callPackage ./groonga.nix { } ;
18-
1916 pname = "pgroonga" ;
2017
2118 # Load version configuration from external file
@@ -174,13 +171,7 @@ buildEnv {
174171 '' ;
175172
176173 passthru = {
177- inherit
178- versions
179- numberOfVersions
180- pname
181- supabase-groonga
182- ;
183- groonga = supabase-groonga ;
174+ inherit versions numberOfVersions pname ;
184175 version =
185176 "multi-" + lib . concatStringsSep "-" ( map ( v : lib . replaceStrings [ "." ] [ "-" ] v ) versions ) ;
186177 } ;
Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ self.inputs.nixpkgs.lib.nixos.runTest {
8484 self . packages . ${ pkgs . system } . mecab-naist-jdic
8585 } /lib/mecab/dic/naist-jdic" ;
8686 systemd . services . postgresql . environment . MECAB_CONFIG = "${ pkgs . mecab } /bin/mecab-config" ;
87- systemd . services . postgresql . environment . GRN_PLUGINS_DIR =
88- "${ ( installedExtension "15" ) . passthru . groonga } /lib/groonga/plugins" ;
87+ systemd . services . postgresql . environment . GRN_PLUGINS_DIR = "${
88+ self . packages . ${ pkgs . system } . supabase-groonga
89+ } /lib/groonga/plugins" ;
8990
9091 specialisation . postgresql17 . configuration = {
9192 services . postgresql = {
Original file line number Diff line number Diff line change 1010 postgresql_15
1111 postgresql_17
1212 postgresql_orioledb-17
13-
13+ supabase-groonga
1414 switch-ext-version
1515 mecab-naist-jdic
1616 ;
Original file line number Diff line number Diff line change 4141 github-matrix = pkgs . callPackage ./github-matrix {
4242 nix-eval-jobs = inputs' . nix-eval-jobs . packages . default ;
4343 } ;
44-
44+ supabase-groonga = pkgs . callPackage ../ext/pgroonga/groonga.nix { } ;
4545 http-mock-server = pkgs . callPackage ./http-mock-server.nix { } ;
4646 local-infra-bootstrap = pkgs . callPackage ./local-infra-bootstrap.nix { } ;
4747 mecab-naist-jdic = pkgs . callPackage ./mecab-naist-jdic.nix { } ;
Original file line number Diff line number Diff line change 33 psql_15 ,
44 psql_orioledb-17 ,
55 defaults ,
6+ supabase-groonga ,
67 system ,
78} :
89{
1415 extraSubstitutions ? { } ,
1516 } :
1617 let
17- supabase-groonga = pgroonga . passthru . groonga or ( pkgs . callPackage ../ext/pgroonga/groonga.nix { } ) ;
1818 paths = {
1919 migrationsDir = builtins . path {
2020 name = "migrations" ;
You can’t perform that action at this time.
0 commit comments