Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix: assorted improvements #2303

Merged
merged 4 commits into from
Jun 7, 2022
Merged

nix: assorted improvements #2303

merged 4 commits into from
Jun 7, 2022

Conversation

robx
Copy link
Contributor

@robx robx commented Jun 7, 2022

This collects some changes to the nix scripts that came out of #2292, but that should be good independently.

robx added 3 commits June 7, 2022 09:57
This allows e.g. running

  postgrest-test-spec --match "some failing test"
weeder needs to be compiled with the same GHC that we build postgrest
with.

Before this change, we were relying on the fact that we happened
to set ${compiler} to the same ghc8107 as used by nixpkgs for
haskellPackages, now we explicitly take it from the correct
haskell package set.
glibcLocales is not available e.g. on darwin. This change allows
running various dev tools on darwin, and other theoretical
non-glibc systems.
@robx robx requested a review from wolfgangwalther June 7, 2022 08:12
This is a kind of hacky fix to the kind of hacky hsie derivation.
Copy link
Member

@steve-chavez steve-chavez left a comment

Choose a reason for hiding this comment

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

LGTM! I was missing the postgrest-test-spec --match "some failing test" capability.

@robx robx merged commit 4ff2469 into PostgREST:main Jun 7, 2022
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