!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

331 Members
https://github.com/nix-community/poetry2nix63 Servers

Load older messages


SenderMessageTime
24 Jun 2022
@k900:0upti.meK900Post your flake17:14:01
@arpd:matrix.orgarpd K900: Sorry for the wait, had to transcribe and edit sensitive bits: https://gist.github.com/arpd/cab98d74d45680988fa1dc4f0e2369b3 17:30:56
@arpd:matrix.orgarpdI also am fine with abandoning mach-nix, I can get all of my python dependencies set up in the poetry toml17:31:19
@k900:0upti.meK900Yeah mixing the two is probably not the best idea 17:31:39
@arpd:matrix.orgarpdIt didn't make a difference though;17:32:09
@k900:0upti.meK900Can you build a minimal reproducible example?17:32:54
@arpd:matrix.orgarpdSure give me a moment17:33:41
@arpd:matrix.orgarpd K900: https://gist.github.com/arpd/cab98d74d45680988fa1dc4f0e2369b3 17:50:21
@arpd:matrix.orgarpdI think this accurately conveys my intentions..17:50:35
@k900:0upti.meK900And it doesn't work? 17:51:23
@arpd:matrix.orgarpdRefresh, i've added a comment17:51:54
@k900:0upti.meK900Oh 17:51:55
@arpd:matrix.orgarpdIt shows the error17:51:56
@k900:0upti.meK900 You want pkgs.python38 17:52:02
@k900:0upti.meK900 Not the string "python38" 17:52:10
@arpd:matrix.orgarpdHuh.. I was sure I saw that in the readme17:52:17
@arpd:matrix.orgarpdIf not then wow that's a big blunder17:52:26
@arpd:matrix.orgarpdOh right, okay, that's a transcribe error on my part; Remember my mentioning infinite recursion? I've added another comment17:53:34
@arpd:matrix.orgarpd Sorry K900 , copying stuff from my work machine / vm is basically impossible so I've got to write it all out again 17:55:08
@k900:0upti.meK900 Try running it with --show-trace 17:55:13
@k900:0upti.meK900 Also, termbin.com 17:55:21
@k900:0upti.meK900Very helpful for getting logs out of things that make it difficult 17:55:41
@arpd:matrix.orgarpdOh that's awesome, I'll bookmark that, thanks :D17:55:55
@arpd:matrix.orgarpd K900: I've added the trace, but like every other --show-trace, I spent 5 minutes looking at it and couldn't make sense of / follow it 17:56:59
@k900:0upti.meK900 OK I'm not sure if that's going to help but try mypyenv.env in buildInputs 17:58:10
@arpd:matrix.orgarpdNope, same error17:58:31
@arpd:matrix.orgarpd I also tried adding the env manually, and using mkPackage, but that also failed 18:00:31
@arpd:matrix.orgarpdNot in the same way but, this seems the more sensible way to get what I want 18:00:51
@arpd:matrix.orgarpd i.e. using python3.withPackages { ... } 18:01:33
@arpd:matrix.orgarpd and then adding ( poetry2nix.buildApplication { projectorwhatever = ./.; } ) etc to my buildinputs 18:02:07

Show newer messages


Back to Room ListRoom Version: 6