This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
Generated code through pypi2nix is not usable anymore (pythonPackages change) #469
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
So I've solved this by replacing:
with:
but I have to admit, that I have no clue what I am doing here :P Update: here is the thing that works for me in a backward compatible (but probably awkward) way. Quick fix in case anyone else stumbles on this. I know there is
|
Dretch
added a commit
to Dretch/gi-gtk-declarative
that referenced
this issue
Jan 23, 2021
…(comment) I also tried recreating the requirements.nix, but ran into nix-community/pypi2nix#468
Dretch
added a commit
to Dretch/gi-gtk-declarative
that referenced
this issue
Jan 24, 2021
I also tried recreating the requirements.nix, but ran into nix-community/pypi2nix#468
guygastineau
pushed a commit
to guygastineau/gi-gtk-declarative
that referenced
this issue
Jan 25, 2021
I also tried recreating the requirements.nix, but ran into nix-community/pypi2nix#468
guygastineau
pushed a commit
to guygastineau/gi-gtk-declarative
that referenced
this issue
Jan 27, 2021
I also tried recreating the requirements.nix, but ran into nix-community/pypi2nix#468
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I believe this regression originated from NixOS/nixpkgs@b57c5d4.
@Ericson2314, can you perhaps help me out here?
I am trying with requirements.nix generated through pypi2nix 2.0.4 on NixOS 21.03.
One thing I get is:
but ok I've just added lib here like this:
then I get
I suppose the reason is that python-packages.nix was refactored and it now returns a function, so this autogenerated requirements.nix should do something different in order to get pythonPackages.
The text was updated successfully, but these errors were encountered: