-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Postgrest fails to build on aarch64-darwin using nixpkgs #2412
Comments
@robx Would it be possible to fix configurator-pg for aarch64-darwin? |
@steve-chavez @axeltlarsson For the second issue you describe, which PostgREST version are you trying to build? Is this a recent git checkout? I'm afraid I don't really understand what's going wrong, but it seems like there's something fundamental wrong with the nixpkgs setup. Might be that updating the nixpkgs version in |
See also NixOS/nixpkgs#137877. I have no idea why a cross-compiling gcc would be used, though. |
@robx You're correct, In a recent Configuring postgrest-9.0.1...
Setup: Encountered missing or private dependencies:
aeson >=1.4.7 && <1.6,
hasql >=1.4 && <1.5,
hasql-dynamic-statements ==0.3.1,
jose >=0.8.1 && <0.9,
swagger2 >=2.4 && <2.7
error: builder for '/nix/store/xrj0q2xm1r6s6bqb9zd2idsmqqdd94za-postgrest-9.0.1.drv' failed with exit code 1;
last 10 log lines:
> Using Parsec parser
> Configuring postgrest-9.0.1...
>
> Setup: Encountered missing or private dependencies:
> aeson >=1.4.7 && <1.6,
> hasql >=1.4 && <1.5,
> hasql-dynamic-statements ==0.3.1,
> jose >=0.8.1 && <0.9,
> swagger2 >=2.4 && <2.7
>
For full logs, run 'nix log /nix/store/xrj0q2xm1r6s6bqb9zd2idsmqqdd94za-postgrest-9.0.1.drv'. But that issue seems like it might be resolved with version 10 of postgrest? 🤞 |
I just tried bulding it locally again and now it works fine! |
Fixed now. |
Environment
Description of issue
Refuses to evaluate as it's marked as broken, due to 'configurator-pg-0.2.5' is marked as broken. Forcing the build does seem to confirm that configurator-pg is indeed broken unfortunately.
Also tried to build postgrest locally on my aarch64-darwin, with
nix-build -A postgrestPackage
but failed with:😔
Thanks for wonderful software regardless and any ideas/advice to fix/work around this are most welcome.
The text was updated successfully, but these errors were encountered: