!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

313 Members
https://github.com/nix-community/poetry2nix58 Servers

Load older messages


SenderMessageTime
13 Nov 2023
@adis:blad.isadisbladisFresh docs: https://adisbladis.github.io/pdm2nix/11:53:53
@FRidh:matrix.orgFRidhA while ago the flake interface for poetry2nix changed. Is there a description somewhere about how to use it now?13:07:21
@FRidh:matrix.orgFRidh
In reply to @FRidh:matrix.org
A while ago the flake interface for poetry2nix changed. Is there a description somewhere about how to use it now?

OK this was kind of what I was looking for

inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryPackages mkPoetryEnv overrides;

13:24:57
14 Nov 2023
@jonge:ukvly.orgjonge joined the room.10:30:53
15 Nov 2023
@kranzes:matrix.org@kranzes:matrix.org joined the room.12:40:46
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.16:15:53
@grahamc:nixos.org@grahamc:nixos.org 16:35:58
@grahamc:nixos.org@grahamc:nixos.org 16:38:47
@grahamc:nixos.org@grahamc:nixos.org left the room.16:39:44
@qyliss:fairydust.space@qyliss:fairydust.space joined the room.17:31:47
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:46
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:46
@eisfunke:eisfunke.com@eisfunke:eisfunke.com changed their profile picture.22:41:06
16 Nov 2023
@dustee:matrix.orgdustee joined the room.09:00:40
@dustee:matrix.orgdusteeguys i need help, im not sure what im doing wrong. in my project i did 'nix flake init --template github:nix-community/poetry2nix' then 'nix develop09:04:00
@dustee:matrix.orgdustee * guys i need help, im not sure what im doing wrong. in my project i did 'nix flake init --template github:nix-community/poetry2nix' then 'nix develop' then added packages with 'poetry add ...' then i could run 'poetry run python main.py' successfully09:04:35
@dustee:matrix.orgdusteehowever when i exit the shell and reenter, the packages are trying to be built with nix and they all fail09:04:59
@k900:0upti.meK900What packages?09:05:32
@dustee:matrix.orgdusteeim going through the edgecases readme and im just getting dozens of errors, adding setuptools to all packages, etc09:05:39
@k900:0upti.meK900Some packages may need additional fixups to build in poetry2nix09:05:42
@k900:0upti.meK900That is somewhat to be expected09:05:49
@dustee:matrix.orgdusteei just cant run nix develop anymore09:05:52
@k900:0upti.meK900 When you did poetry add the first time, the packages were installed with Poetry, not with Nix 09:06:10
@k900:0upti.meK900So it's a separate thing09:06:15
@dustee:matrix.orgdustee''' aioserial configparser microdot pyinstaller pyserial modbus-crc icmplib Jinja2'''09:06:20
@k900:0upti.meK900At least some of those should be supported as-is09:06:35
@k900:0upti.meK900Can you post your expression?09:06:39
@dustee:matrix.orgdusteethis is a simple project i though would work, i tried before with a django project and it was horrible, getting hundreds of errors i tried to fix with the edgecase readme but in the end it came to errors i couldnt fix, is this really how poetry2nix is meant to be?09:07:27
@k900:0upti.meK900Yes09:07:36
@k900:0upti.meK900That is how the Python ecosystem is, generally09:07:44

Show newer messages


Back to Room ListRoom Version: 6