Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devenv.nix enheritance mode (instead of composition) #1675

Open
Andrew15-5 opened this issue Jan 17, 2025 · 0 comments
Open

Add devenv.nix enheritance mode (instead of composition) #1675

Andrew15-5 opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Andrew15-5
Copy link

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 use lib.mkForce).

What is the best way to "reverse" the current behavior? Maybe there is another tool for this?

@Andrew15-5 Andrew15-5 added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant