Concrete use case:
I have a devenv.nix in the root of our repo to run everything together. Now depending on different development focus, we would love to either pass variables for devenv to evaluate (think --no-frontend) or to have multiple devenv profiles where we could e.g. say devenv up --backend-only. Similar to a flake's `nix develop '.#profile'.
I know that this should be possible with flakes, but since the rest of the team is not "nix-native" and we really enjoy the abstraction devenv brings, this would be a killer feature.
Concrete use case: I have a devenv.nix in the root of our repo to run everything together. Now depending on different development focus, we would love to either pass variables for devenv to evaluate (think
--no-frontend
) or to have multiple devenv profiles where we could e.g. saydevenv up --backend-only
. Similar to a flake's `nix develop '.#profile'.I know that this should be possible with flakes, but since the rest of the team is not "nix-native" and we really enjoy the abstraction devenv brings, this would be a killer feature.
What would be necessary to build this up?