Sender | Message | Time |
---|---|---|
14 Aug 2024 | ||
lambadada | In reply to @truh:matrix.org I know nix is a source-first distro, but is that what's causing my issue? On line 35 in flake.nix at the link you can see that I don't have a SHA hash yet. I don't have a SHA hash yet because the flake halts execution well before it reaches the stage where it cares whether it has received source code or a wheel. As per your advice, I tried following the recommendations at https://nixos.wiki/wiki/Packaging/Python#install_binary_release in this commit. It did not fix my issue. I'm not sure I did it right, could you provide more details? | 17:48:25 |
lambadada | In reply to @truh:matrix.org* I know nix is a source-first distro, but is that what's causing my issue? On line 35 in flake.nix at the link you can see that I don't have a SHA hash yet. I don't have a SHA hash yet because the flake halts execution well before it reaches the stage where it cares whether it has received source code or a wheel. As per your advice, I tried following the recommendations for using wheels in this commit. It did not fix my issue. I'm not sure I did it right, could you provide more details? | 17:49:16 |
lambadada | * I know nix is a source-first distro, but is that what's causing my issue? On line 35 in flake.nix at the link you can see that I don't have a SHA hash yet. I don't have a SHA hash yet because the flake halts execution well before it reaches the stage where it cares whether it has received source code or a wheel. As per your advice, I tried following the recommendations for using wheels in this commit. there is no change to the error displayed. I'm not sure I did it right, could you provide more details? | 17:49:53 |
16 Aug 2024 | ||
@nebucatnetzer13:matrix.org set a profile picture. | 11:05:59 | |
19 Aug 2024 | ||
@alejandrosame:matrix.org left the room. | 08:51:43 | |
20 Aug 2024 | ||
@roastedcheesee:matrix.org left the room. | 12:46:33 | |
21 Aug 2024 | ||
adisbladis | This is quite a radical change I'm considering for poetry2nix v2: The API comes down to one central function
In this brave new world I'm having two considerations I'm not sure about:
| 04:42:01 |
adisbladis | You might argue that this belongs in mkOverlay , but the overlay generated is for any interpreter | 04:42:19 |
adisbladis | Maybe this is an internal overlay attribute? | 04:42:39 |
adisbladis | But that's also a bit funky | 04:42:45 |
adisbladis | Ideas welcome | 04:42:47 |
adisbladis | * You might argue that PEP-508 markers belongs in mkOverlay , but the overlay generated is for any interpreter | 04:47:44 |
adisbladis | I think wheel preference or not is so central to the user experience that it should probably be an mkOverlay thing | 04:48:08 |
adisbladis | But marker customisation feels wrong there | 04:48:20 |
adisbladis | * This is quite a radical change I'm considering for poetry2nix v2: The API comes down to one central function
In this brave new world I'm having two considerations I'm not sure about:
| 05:21:46 |
adisbladis | Internals are coming along https://adisbladis.github.io/poetry2nix-v2/lib/metadata2.html | 09:07:30 |
truh | So I would then use python.pkgs.<my-project-name> instead of the output of mkPoetryApplication? | 09:39:45 |
adisbladis | In reply to @truh:matrix.orgThat's the idea | 09:44:46 |
truh | Sounds good, maybe a bit more difficult to get the hang of for people who aren't familiar nixpkgs. | 10:03:03 |
truh | Would this create ovrrides for all depedencies in the poetry.lock? What do you think about a way to tell poetry2nix to not create overrides for particular packages, when I know python3Packages.particular-package would work for my project, requires less build time on my end, and is well maintained. Or does that lead problems | 10:07:53 |
adisbladis | In reply to @truh:matrix.orgFor sure it's a little bit more friction, OTOH this API gives you a gradual learning path. Another agenda with keeping it as simple as possible is for future compat with https://github.com/NixOS/nixpkgs/issues/272178 | 10:21:50 |
adisbladis | In reply to @truh:matrix.orgI've been toying with ideas like that for a while :) | 10:21:57 |
adisbladis | Excerpt:
| 10:25:15 |
22 Aug 2024 | ||
Artur Manuel joined the room. | 12:58:51 | |
Artur Manuel changed their profile picture. | 14:53:11 | |
23 Aug 2024 | ||
TyberiusPrime (smilodon inopinatus) | My 7000+ override PR finally passes the CI... | 13:41:02 |
27 Aug 2024 | ||
Artur Manuel | hey there! i am trying to work on a flake template repository for whenever i need to setup a project but something i have been stuck on is trying to get past an assertionerror that happens only in the installPhase | 05:54:38 |
Artur Manuel | Something i noted is that it works completely fine in base poetry and that this is probably an issue in how I declared the package. | 05:55:30 |
Artur Manuel | All relevant files will be shared in a few hours or so, I am not on my PC right now. | 05:56:05 |
Artur Manuel | * Hey there! I am trying to work on a flake template repository for whenever I need to setup a project but something I have been stuck on is trying to get past an assertionerror that happens only in the installPhase. | 05:59:24 |