!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

58 Members
https://github.com/nix-community/nix-init18 Servers

Load older messages


SenderMessageTime
7 May 2023
@raitobezarius:matrix.orgraitobezarius it's using python3.pkgs.buildPythonPackage 22:44:09
@raitobezarius:matrix.orgraitobezariusi don't think we do that in nixpkgs22:44:15
@figsoda:matrix.orgfigsoda I mean toPythonModule is probably not going to work either 22:44:34
@figsoda:matrix.orgfigsodain that aspect22:44:44
@raitobezarius:matrix.orgraitobezariusright22:44:45
@figsoda:matrix.orgfigsoda
In reply to @figsoda:matrix.org
just changing Application to Package works
by works I mean builds
22:45:08
@raitobezarius:matrix.orgraitobezariusyeah but I want to use them in a dependency22:45:19
@raitobezarius:matrix.orgraitobezariusI guess I can use them privately in that package22:45:28
@raitobezarius:matrix.orgraitobezariusby callPackage with python322:45:31
@raitobezarius:matrix.orgraitobezariusthat's really bad22:45:34
@raitobezarius:matrix.orgraitobezariusbut it's fine22:45:37
@figsoda:matrix.orgfigsodait's fine if you are just testing them locally22:46:17
@figsoda:matrix.orgfigsodabtw rustfmt ci failed22:46:57
@raitobezarius:matrix.orgraitobezariuswill fix this tomorrow if that's okay with you22:48:53
@raitobezarius:matrix.orgraitobezariusoh no they depend mutually :'D22:49:03
@raitobezarius:matrix.orgraitobezariusI really need to repackage them properly22:49:11
@raitobezarius:matrix.orgraitobezariusI was like: "I could use nix-init as an API" and I remembered the main.rs22:50:00
@raitobezarius:matrix.orgraitobezariusis the ragequit the only solution here22:50:26
@raitobezarius:matrix.orgraitobezariusokay I will hack flags I guess22:50:45
@figsoda:matrix.orgfigsodaI mean you can just go through the whole process again22:51:40
@raitobezarius:matrix.orgraitobezariusyeah but I will add flags to nix-init22:51:48
@raitobezarius:matrix.orgraitobezarius so I can just use up for real 22:51:51
@raitobezarius:matrix.orgraitobezariusor can do a bash for22:51:56
@raitobezarius:matrix.orgraitobezariusI only need builder, source_root, tag22:52:53
@figsoda:matrix.orgfigsodaI can see something like recipes once the code generation is refactored22:53:43
@raitobezarius:matrix.orgraitobezariusok hacked enough to have a workable thing23:16:01
@raitobezarius:matrix.orgraitobezarius it does not seem like it likes yes "" | cargo run -- 23:21:31
@raitobezarius:matrix.orgraitobezariusit's a shame, the prompter seems incompatible with that23:24:08
@figsoda:matrix.orgfigsoda I think it might be read_line_with_initial that's causing this 23:24:49
@figsoda:matrix.orgfigsoda pipe makes it fail to put an initial, and it hangs due to NonEmpty 23:25:15

Show newer messages


Back to Room ListRoom Version: 10