!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 I think we need like List(Vec<String>) but I might be wrong 21:52:05
@raitobezarius:matrix.orgraitobezariusor PathBuf21:52:14
@raitobezarius:matrix.orgraitobezariuswhich has the same implementation as Prompter::Build I guess21:53:11
@figsoda:matrix.orgfigsodaeither one works for me21:53:14
@figsoda:matrix.orgfigsoda not sure about List though 21:53:20
@raitobezarius:matrix.orgraitobezariusI take any better names21:53:27
@figsoda:matrix.orgfigsoda no actually List would work just fine 21:53:49
@figsoda:matrix.orgfigsodabut maybe we want to have hints to suggest the available builders21:54:30
@figsoda:matrix.orgfigsodaidk21:54:30
@figsoda:matrix.orgfigsodaanything works21:54:38
@raitobezarius:matrix.orgraitobezariusavailable builders would require to compute them right?21:54:53
@figsoda:matrix.orgfigsodasorry, could you elaborate on that?21:55:46
@raitobezarius:matrix.orgraitobezarius

but maybe we want to have hints to suggest the available builders

if I have a list of source root candidates, what do you mean by suggesting the available builders?

21:56:05
@raitobezarius:matrix.orgraitobezariusmy source root candidates list is already made of subfolders which contains an appropriate build system file21:56:18
@raitobezarius:matrix.orgraitobezariusthe only way to hint about the buildable ones would be to compute the rust_vendors, etc.21:56:31
@raitobezarius:matrix.orgraitobezariusor are you talking about something else?21:56:36
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
the only way to hint about the buildable ones would be to compute the rust_vendors, etc.
oh yeah that would probably be too much for e.g. python packages
21:57:30
@figsoda:matrix.orgfigsoda I would say showing the files found is good, something like bindings/rust (Cargo.lock, Cargo.toml), bindings/python (pyproject.toml) 21:58:31
@raitobezarius:matrix.orgraitobezariushmm21:58:55
@raitobezarius:matrix.orgraitobezariusthen List does not cut it21:58:59
@raitobezarius:matrix.orgraitobezariusI won't do this part right now right now21:59:09
@raitobezarius:matrix.orgraitobezariusI will hack a workable version for my packaging21:59:13
@raitobezarius:matrix.orgraitobezariusand then we can improve it21:59:15
@raitobezarius:matrix.orgraitobezariusI'm almost done with v121:59:22
@figsoda:matrix.orgfigsodaif that's too much we can improve it later21:59:23
@raitobezarius:matrix.orgraitobezariuswhat does22:00:01
@raitobezarius:matrix.orgraitobezarius
    let Some(Prompter::Build(choices)) = editor.helper_mut() else {
        unreachable!();
    };
22:00:03
@raitobezarius:matrix.orgraitobezariusmeans?22:00:04
@raitobezarius:matrix.orgraitobezarius * mean?22:00:07
@raitobezarius:matrix.orgraitobezariuslike choice is already an index right?22:00:48

Show newer messages


Back to Room ListRoom Version: 10