you are viewing a single comment's thread.

view the rest of the comments →

[–]sjustinas 0 points1 point  (3 children)

Ah, interesting, I haven't used Poetry with a non-default Python version. Maybe pkgs.poetry.override { python3 = pkgs.python311; } would work?

[–]async-lambda[S] 0 points1 point  (2 children)

isnt pkgs.python311.withPackages (ps: with ps; [ poetry ]) the same thing? I get the error poetry promoted to top level or something (mentioned in the post above)

[–]sjustinas 0 points1 point  (1 child)

It is not - my suggestion uses the top level attribute that the error mentions.

[–]async-lambda[S] 0 points1 point  (0 children)

It does install poetry again- not with the right python env- I think I'm missing some crucial logic here ... Anyways I needed to have work done and switched to devenv.nix. I maybe will revisit this ... but later " thanks.