Add devenv.nix
enheritance mode (instead of composition)
#1675
Labels
enhancement
New feature or request
devenv.nix
enheritance mode (instead of composition)
#1675
In my project, I have the root config and a few sub-projects. The sub-projects are basically a copy of the root, but with some changes. So I want to switch from composing sub-config into main one to inheriting the things from the main config into sub-projects. The easiest example is the use of same packages and same scripts/aliases.
Currently, I need to duplicate everything in all config, but in the root one additionally use
lib.mkForce
. This is super bloated, even worse than having separate configs (because you don't have to uselib.mkForce
).What is the best way to "reverse" the current behavior? Maybe there is another tool for this?
The text was updated successfully, but these errors were encountered: