| 7 May 2023 |
raitobezarius | it's using python3.pkgs.buildPythonPackage | 22:44:09 |
raitobezarius | i don't think we do that in nixpkgs | 22:44:15 |
figsoda | I mean toPythonModule is probably not going to work either | 22:44:34 |
figsoda | in that aspect | 22:44:44 |
raitobezarius | right | 22:44:45 |
figsoda | In reply to @figsoda:matrix.org just changing Application to Package works by works I mean builds | 22:45:08 |
raitobezarius | yeah but I want to use them in a dependency | 22:45:19 |
raitobezarius | I guess I can use them privately in that package | 22:45:28 |
raitobezarius | by callPackage with python3 | 22:45:31 |
raitobezarius | that's really bad | 22:45:34 |
raitobezarius | but it's fine | 22:45:37 |
figsoda | it's fine if you are just testing them locally | 22:46:17 |
figsoda | btw rustfmt ci failed | 22:46:57 |
raitobezarius | will fix this tomorrow if that's okay with you | 22:48:53 |
raitobezarius | oh no they depend mutually :'D | 22:49:03 |
raitobezarius | I really need to repackage them properly | 22:49:11 |
raitobezarius | I was like: "I could use nix-init as an API" and I remembered the main.rs | 22:50:00 |
raitobezarius | is the ragequit the only solution here | 22:50:26 |
raitobezarius | okay I will hack flags I guess | 22:50:45 |
figsoda | I mean you can just go through the whole process again | 22:51:40 |
raitobezarius | yeah but I will add flags to nix-init | 22:51:48 |
raitobezarius | so I can just use up for real | 22:51:51 |
raitobezarius | or can do a bash for | 22:51:56 |
raitobezarius | I only need builder, source_root, tag | 22:52:53 |
figsoda | I can see something like recipes once the code generation is refactored | 22:53:43 |
raitobezarius | ok hacked enough to have a workable thing | 23:16:01 |
raitobezarius | it does not seem like it likes yes "" | cargo run -- | 23:21:31 |
raitobezarius | it's a shame, the prompter seems incompatible with that | 23:24:08 |
figsoda | I think it might be read_line_with_initial that's causing this | 23:24:49 |
figsoda | pipe makes it fail to put an initial, and it hangs due to NonEmpty | 23:25:15 |