-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
postgresql{,TestHook}: avoid running postgresql during builds on darwin #392430
postgresql{,TestHook}: avoid running postgresql during builds on darwin #392430
Conversation
Currently,
|
According to MagicStack/asyncpg#1236 (comment), we had seen this failure already on the 24.11 branch, where the tests were still enabled. To fix, we can apply 2b588bf on master as well. @vcunat this should also answer your question why you didn't observe that on master. |
4d169e9
to
99a567c
Compare
|
99a567c
to
cb1b703
Compare
https://hydra.nixos.org/build/291045308/nixlog/1/tail Looks like triggered by 06aecd3 but curiously on nixpkgs master we do not suffer from the issue. (cherry picked from commit 2b588bf)
Those were accidentally disabled a while ago, when postgresql.doCheck was set to false unconditionally. Instead the checks are now done as part of the installCheck phase.
cb1b703
to
98d6d2a
Compare
Split the haskell commit off and will bring it back once this PR has reached haskell-updates. Will merge this once eval is through. |
This is related to #371242. TLDR: Because of a nix bug, we disabled postgresql's tests again in d0f3296 (thanks @vcunat, that makes total sense!).
This cleans up the situation a bit more:
postgresqlTestHook
as broken on darwin, because it leads to exactly the same problems again and again.checkPhase
toinstallCheckPhase
.I'll probably target the last commit at
haskell-updates
after a test run here to avoid merge conflicts.Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usageAdd a 👍 reaction to pull requests you find important.