Get Nix Flake to include git submodule

Hey, dont wanna hijack your thread but do I need to build the subproject after referencing as input?
Using the suggestions from your last answer:

inputs = {
  # ...
  subproject = {
    url = "git+file:subproject"; # the submodule is in the ./subproject dir
    flake = false;
  };
}

but all I get is a error message with “/subproject: No such file or directory”. Already update, synced and reinit the submodule.

1 Like