!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

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

Load older messages


SenderMessageTime
7 May 2023
@figsoda:matrix.orgfigsoda the nurl stuff goes in src =, sourceRoot is part of mkDerivation 21:20:15
@raitobezarius:matrix.orgraitobezariusGood point21:21:25
@raitobezarius:matrix.orgraitobezarius
In reply to @figsoda:matrix.org
I'm thinking we run this for subdirectories, maybe with a configurable max depth
What would that be for though?
21:21:57
@raitobezarius:matrix.orgraitobezariusYou probably want to run inside the source root directly?21:22:05
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
What would that be for though?
we would find subdirectories that contain those files, ask the user to choose a sourceRoot if any was found, then mutate src_dir to the chosen subdirectory
21:23:43
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
What would that be for though?
* we would find subdirectories that contain those files, ask the user to choose a sourceRoot if any was found, then mutate/shadow src_dir to the chosen subdirectory
21:23:59
@figsoda:matrix.orgfigsoda main.rs is a bit unorganized right now, I will try to make a refactor in the future 21:25:11
@figsoda:matrix.orgfigsoda * main.rs is a bit unorganized right now, I will try to make a refactor in the (probably not near) future 21:25:23
@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

Show newer messages


Back to Room ListRoom Version: 10