Sender | Message | Time |
---|---|---|
7 Apr 2024 | ||
@fractivore:cyberia.club changed their display name from symys to symyƨ. | 07:58:58 | |
@fractivore:cyberia.club changed their display name from symyƨ to sγmγƨ. | 08:01:39 | |
@fractivore:cyberia.club changed their display name from sγmγƨ to SYMYƧ. | 08:09:19 | |
8 Apr 2024 | ||
wk joined the room. | 14:36:49 | |
wk | 14:40:26 | |
wk | Hi, i seem to be running into the "infinite recursion" issue when trying to build a shell that includes adafruit-circuitpython-dht. Where do i even start to fix it? | 14:41:48 |
9 Apr 2024 | ||
truh | In reply to @j0xxx:nixbitcoin.orgFor me this was sometimes solved by using a different poetry2nix or nixpkgs revision. In one of my projects I've pinned nixpkgs to what's pinned in poetry2nix ( nixpkgs.follows = "poetry2nix/nixpkgs" ) to solve this. But it can also be something else, sometimes you can find a culprit by reading the error top to bottom. | 10:21:07 |
@djacu:matrix.org changed their profile picture. | 23:22:59 | |
10 Apr 2024 | ||
wk | hmm, if i do that, i get something about "attribute lib missing" in some anonymous derivation | 08:51:01 |
truh | In reply to @j0xxx:nixbitcoin.org Last time I had this it was because I tried to access Can you share the flake? | 08:57:42 |
wk | nvm that was my issue, i passed the wrong think into mkPoetry2Nix. The follows thing didn't help though in this case | 08:58:20 |
wk | the problem seems to happen with the python package adafruit-circuitpython-dht, in case anyone feels like taking a look | 08:59:04 |
wk | switching from mkPoetryEnv to mkPoetryApplication for some reason shows me a more readable trace, and i can see it go down the dependencies until we hit adafruit-circuitpython-typing which is the actual package causing the issue | 21:00:16 |
wk | looks like a circular dependency with Adafruit-Blinka | 21:02:03 |
wk | so can i use an override to remove one of the dependencies? | 21:03:56 |
wk | Seems to be working with a lot of overrides needed. Will try to create a ticket tomorrow just to have it documented | 23:45:05 |
11 Apr 2024 | ||
truh | In reply to @j0xxx:nixbitcoin.orgOverriding buildInputs should work I think. | 08:09:16 |
wk | Ok, so it works now. Question is: Does it make sense to open a ticket like "i found these packages that need overrides"? Basically there were some dependency loops and a bunch of packages needing "setuptools" added. | 10:24:53 |
l0b0 | In reply to @j0xxx:nixbitcoin.orgIf you already have the overrides, it would be great if you could add them to the existing ones. But filing an issue also works if you don't have time. | 22:50:45 |
12 Apr 2024 | ||
declension joined the room. | 09:47:11 | |
15 Apr 2024 | ||
Roland Coeurjoly | I'm working on a script to fix the overrides for some common problems. I created a recent PR for fixing a package called twisted. Three questions: 1) Would that be useful? So far I have identified thousands of commonly downloaded packages failing. 2) is the use of from and until in the build systems json preferred to list of dependencies? 3) I see some checks failing, unrelated to the package I'm fixing. Should I fix those? | 17:22:53 |
l0b0 | In reply to @rolandco:matrix.org
| 20:53:48 |
Roland Coeurjoly | Thanks, I'll be working on it | 22:13:32 |
16 Apr 2024 | ||
nirudium joined the room. | 02:19:03 | |
nirudium | Are there any examples of mkPoetryScriptsPackage I could use because I'm trying to set up a single python script and installing it via a flake but I haven't figured that out yet haha | 02:23:46 |
truh | In reply to @nirudium:matrix.orgIf your script has any dependencies I would use mkPoetryApplication instead. | 09:20:30 |
nirudium | I see, how would I have the result end up in the path? | 09:21:10 |
truh | In my projects using mkPoetryApplication , there are scripts in result/bin for each of the scripts defined in pyproject.toml [tool.poetry.scripts] | 09:22:28 |
17 Apr 2024 | ||
K900 changed their display name from K900 ⚡️ to K9Ö0. | 17:16:44 |