| 24 Jun 2022 |
K900 | Post your flake | 17:14:01 |
arpd | K900: Sorry for the wait, had to transcribe and edit sensitive bits: https://gist.github.com/arpd/cab98d74d45680988fa1dc4f0e2369b3 | 17:30:56 |
arpd | I also am fine with abandoning mach-nix, I can get all of my python dependencies set up in the poetry toml | 17:31:19 |
K900 | Yeah mixing the two is probably not the best idea | 17:31:39 |
arpd | It didn't make a difference though; | 17:32:09 |
K900 | Can you build a minimal reproducible example? | 17:32:54 |
arpd | Sure give me a moment | 17:33:41 |
arpd | K900: https://gist.github.com/arpd/cab98d74d45680988fa1dc4f0e2369b3 | 17:50:21 |
arpd | I think this accurately conveys my intentions.. | 17:50:35 |
K900 | And it doesn't work? | 17:51:23 |
arpd | Refresh, i've added a comment | 17:51:54 |
K900 | Oh | 17:51:55 |
arpd | It shows the error | 17:51:56 |
K900 | You want pkgs.python38 | 17:52:02 |
K900 | Not the string "python38" | 17:52:10 |
arpd | Huh.. I was sure I saw that in the readme | 17:52:17 |
arpd | If not then wow that's a big blunder | 17:52:26 |
arpd | Oh right, okay, that's a transcribe error on my part; Remember my mentioning infinite recursion? I've added another comment | 17:53:34 |
arpd | 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 | Try running it with --show-trace | 17:55:13 |
K900 | Also, termbin.com | 17:55:21 |
K900 | Very helpful for getting logs out of things that make it difficult | 17:55:41 |
arpd | Oh that's awesome, I'll bookmark that, thanks :D | 17:55:55 |
arpd | 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 | OK I'm not sure if that's going to help but try mypyenv.env in buildInputs | 17:58:10 |
arpd | Nope, same error | 17:58:31 |
arpd | I also tried adding the env manually, and using mkPackage, but that also failed | 18:00:31 |
arpd | Not in the same way but, this seems the more sensible way to get what I want | 18:00:51 |
arpd | i.e. using python3.withPackages { ... } | 18:01:33 |
arpd | and then adding ( poetry2nix.buildApplication { projectorwhatever = ./.; } ) etc to my buildinputs | 18:02:07 |