| 16 Nov 2023 |
dustee | i just cant run nix develop anymore | 09:05:52 |
K900 | When you did poetry add the first time, the packages were installed with Poetry, not with Nix | 09:06:10 |
K900 | So it's a separate thing | 09:06:15 |
dustee | '''
aioserial
configparser
microdot
pyinstaller
pyserial
modbus-crc
icmplib
Jinja2''' | 09:06:20 |
K900 | At least some of those should be supported as-is | 09:06:35 |
K900 | Can you post your expression? | 09:06:39 |
dustee | this 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 | Yes | 09:07:36 |
K900 | That is how the Python ecosystem is, generally | 09:07:44 |
K900 | Unfortunately | 09:07:48 |
K900 | But "hundreds" feels like too many | 09:07:56 |
K900 | Can you post your flake.nix? | 09:08:05 |
dustee | Redacted or Malformed Event | 09:10:51 |
dustee | ah sry how do i post code | 09:11:06 |
K900 | Yeah, you removed the default overrides set | 09:11:30 |
K900 | You want something like https://github.com/nix-community/poetry2nix/#example-5 | 09:11:47 |
dustee |  Download image.png | 09:24:19 |
dustee | error: attribute 'defaultPoetryOverrides' missing
| 09:24:27 |
dustee | how come i cant do 'poetry2nix.defaultPoetryOverrides' like shown in the edgecase readme? | 09:25:18 |
K900 | Use inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication defaultPoetryOverrides | 09:25:24 |
K900 | And then defaultPoetryOverrides.extend | 09:25:31 |
dustee | ok thats working, its building something, ill see | 09:27:33 |
dustee | but yeah it seemed suspicious to me that the overrides/build-systems.json file in the github repo is already filled with the stuff i was trying to fix manually | 09:28:50 |
dustee | :D | 09:28:51 |
dustee | hmm how come poetry is not available in the shell, it looks like it should be there packages = [ pkgs.poetry ]; | 09:37:41 |
K900 | It should be, yeah | 09:37:55 |
dustee | also it seems to be building numpy repeatably every time i enter the shell | 09:39:02 |
K900 | You're probably not letting it complete the build | 09:39:41 |
dustee | well this is weird i was able to enter the shell twice but poetry wasnt available, but there is now an error at building contourpy, i didnt change anything in the flake.nix or pyproject.toml | 09:42:52 |
dustee | i tried to add dotenv but poetry wasnt there | 09:43:09 |