-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Build failure: postgresql with pythonSupport = true #372333
Comments
Yeah, |
I'd say it should be in both, right? We still need it at run-time, I guess. |
|
It would link to it. So for cross-compiling this is important, imho. Or to put it the other way around: The fact that putting python in nativeBuildInputs makes the build succeed is not because python is a build tool - it's because PostgreSQL's configure script is really bad at cross-compiling and detecting dependencies properly. PostgreSQL needs python at run-time for |
There is a https://www.postgresql.org/docs/current/install-make.html#CONFIGURE-ENVVARS-PYTHON Further PostgreSQL should be wrapped to also set I will try to make some free time to test this out in the following days. |
Hi everyone,
since 445371f (which added
strictDeps = true;
) the build of PostgreSQL is broken if python support is enabled.Steps To Reproduce
Here is a minimal example using flakes:
Save it in
flake.nix
in a git repo and callnix build
. Change the system (x86_64-linux
) in case needed.Build log
Build Log
Metadata
Notify maintainers
@wolfgangwalther (author of offending commit)
@thoughtpolice
@Ma27
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: