diff --git a/examples/databases/postgres/devbox.json b/examples/databases/postgres/devbox.json index e528a436349..9928da41cf9 100644 --- a/examples/databases/postgres/devbox.json +++ b/examples/databases/postgres/devbox.json @@ -1,10 +1,6 @@ { "packages": { - "postgresql": "latest", - "glibcLocales": { - "version": "latest", - "platforms": ["x86_64-linux", "aarch64-linux"] - } + "postgresql": "latest" }, "shell": { "init_hook": null diff --git a/plugins/mariadb.json b/plugins/mariadb.json index e25803aff90..7c1becee5c1 100644 --- a/plugins/mariadb.json +++ b/plugins/mariadb.json @@ -15,9 +15,13 @@ "{{ .Virtenv }}/setup_db.sh": "mariadb/setup_db.sh", "{{ .Virtenv }}/process-compose.yaml": "mariadb/process-compose.yaml" }, - "packages": [ - "path:{{ .Virtenv }}/flake" - ], + "packages": { + "path:{{ .Virtenv }}/flake": {}, + "glibcLocales": { + "version": "latest", + "platforms": ["x86_64-linux", "aarch64-linux"] + } + }, "__remove_trigger_package": true, "shell": { "init_hook": [ diff --git a/plugins/mysql.json b/plugins/mysql.json index a80d3c5b0a4..ea0a0b5926d 100644 --- a/plugins/mysql.json +++ b/plugins/mysql.json @@ -15,9 +15,13 @@ "{{ .Virtenv }}/setup_db.sh": "mysql/setup_db.sh", "{{ .Virtenv }}/process-compose.yaml": "mysql/process-compose.yaml" }, - "packages": [ - "path:{{ .Virtenv }}/flake" - ], + "packages": { + "path:{{ .Virtenv }}/flake": {}, + "glibcLocales": { + "version": "latest", + "platforms": ["x86_64-linux", "aarch64-linux"] + } + }, "__remove_trigger_package": true, "shell": { "init_hook": [ diff --git a/plugins/postgresql.json b/plugins/postgresql.json index b26e221fc41..8c8f3a419d1 100644 --- a/plugins/postgresql.json +++ b/plugins/postgresql.json @@ -2,6 +2,12 @@ "name": "postgresql", "version": "0.0.2", "description": "To initialize the database run `initdb`.", + "packages": { + "glibcLocales": { + "version": "latest", + "platforms": ["x86_64-linux", "aarch64-linux"] + } + }, "env": { "PGDATA": "{{ .Virtenv }}/data", "PGHOST": "{{ .Virtenv }}"