You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Identify CMake antipattern of putting CMakeLists.txt in src subfolder #53
Below are two examples of projects that are easy to package with nix-init, except the CMakeLists.txt are wrongly stored in the src/ subfolder of the project, which also confuses Nix's CMake hooks. All I had to do to compile these projects after running nix-init was
add cmake to nativeBuildInputs
add `preConfigure = "cd src";
It's possible that this case could be caught by nix-init
Activity
SomeoneSerge commentedon Apr 15, 2023
Maybe this could be generalized to
cargo.tomland probably others: https://github.com/huggingface/safetensorsfigsoda commentedon Apr 15, 2023
Also see #72 (comment), I think it's a good idea to have an option to look for these files in sub-directories