!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

64 Members
https://github.com/nix-community/nix-init21 Servers

Load older messages


SenderMessageTime
7 May 2023
@raitobezarius:matrix.orgraitobezariushacking something21:46:27
@raitobezarius:matrix.orgraitobezarius hm figsoda filename completers cannot take a restriction for the folders to autocomplete right? 21:50:33
@raitobezarius:matrix.orgraitobezariusdo I need a helper hmm?21:50:43
@raitobezarius:matrix.orgraitobezariusah yes doesn't seem like there's "here's a list of strings helper"21:51:32
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
hm figsoda filename completers cannot take a restriction for the folders to autocomplete right?
yes I think need a new enum variant
21:51:41
@raitobezarius:matrix.orgraitobezariuswhat do you prefer?21:51:50
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
hm figsoda filename completers cannot take a restriction for the folders to autocomplete right?
* yes I think we need a new enum variant
21:51:54
@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

Show newer messages


Back to Room ListRoom Version: 10