Skip to content

Conversation

Lagoja
Copy link
Contributor

@Lagoja Lagoja commented Jan 30, 2024

Summary

Current PostgreSQL example doesn't work on MacOS because it attempts to install glibcLocales. This updates the example and documentation to only install glibcLocales on Linux

How was it tested?

CI/CD, run example locally

@Lagoja Lagoja requested review from LucilleH and savil January 30, 2024 19:57
## Adding Postgres to your Shell

`devbox add postgresql glibcLocales`, or in your `devbox.json`, add
You can install the PostgreSQL server and client by running`devbox add postgresql`. In some Linux distributions, you may also need to add `glibcLocales`, which can be added using `devbox add glibcLocales -p x86_64-linux,aarch64-linux`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: slight preference to use --platform instead of shorthand -p since this is documentation. Makes it more self-explanatory.

Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>
@Lagoja Lagoja merged commit c2ab2ca into main Jan 31, 2024
@Lagoja Lagoja deleted the jl/postgres-crossplatform branch January 31, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants