monorepo importing
With #745 it will be possible to import devenv.nix across directories in a git repo.
But it's a bit cumbersome to use:
inputs:
root:
url: git+file://.
flake: false
imports:
- root/examples/compose/projectA
I wonder if we should come up with something like root:// to support imports from top-level of the git repo.
Maybe we could support ../projectA syntax by infering the git root and pwd, then doing the path calculations.
A bit easier to support is - /examples/compose/projectA
I was literally opening an issue to request the ability to do:
imports:
- /
- /moduleA
Where / imports the git root devenv.nix and /moduleA is ./moduleA from the git root.
Relative imports would also be appreciated for shared services deep within the monorepo.
How difficult would this be to support, @domenkozar ?