-
-
Notifications
You must be signed in to change notification settings - Fork 47
Generated requirements.nix leads to failing psycopg2 shell. #296
Comments
Hi, please install the current
I gave it try on my machine and it seemed to work. I would love to hear back from you if this also solved your problem. This is my go at it:
|
@seppeljordan thanks for the quick response! Building from master works correctly. What I just noticed is that nixpkgs refers to the latest release (v1.8.1), which was almost 2 years ago. Would it be ok to generate a new release as to up its nixpkgs version? |
Hi, I definitely see how we should update |
Makes sense. Anything I can do to help? |
Also closing this as we've verified this doesn't happen in upstream |
First of all, thanks for asking. This is a PR that addresses the issue with pip. If you know somebody who can review this or can do it yourself that would be awesome. |
(Assumption in the title, proceed with caution)
Generating an expression from a requirements.txt that includes psycopg2 (amongst other things) with the following command:
pypi2nix -v -V 3.6 -r requirements.txt -E postgresql -E pkgconfig -E zlib -E libjpeg -E openjpeg -E libtiff -E freetype -E lcms2 -E libwebp -E tcl
Correctly builds and generates a nix file. However, after trying to use said fail with either
nix-shell
,nix-build
, ornix
commands leads to a build error:System information:
The text was updated successfully, but these errors were encountered: