Thanks! While the usage of follows for flake-parts in neovim-nightly does work, but doesn’t it seem misleading to follow the flake in the root project dir instead of sub-flake in the lib directory?
I could use nixpkgs.lib as a flake input and try to follow, but doesn’t it look more like a workaround?
What I would like to know is, if its worth for nix to support following a sub-dir flake, maybe with a syntax that looks like: ...follows = "nixpkgs?dir=lib";
I don’t know for sure if a feature like you’re proposing would be difficult to implement, but I believe the number of cases where you’d consider doing this is so rare that this precise nixpkgs situation is actually the only case where it could be useful.