is there a smart way to generate a cabal environment for a project that does not contain a top level package?
E.g. a stack.yaml file that contains:
packages:
- package1
- package2
- package3
I can do nix-shell -A package1.env default.nix but I will only get the dependencies of package1. It would be nice to get the combined environments of package1, package2, package3.
I can do this manually, getting all dependencies with stack ls dependencies or something similar ...
is there a smart way to generate a cabal environment for a project that does not contain a top level package?
E.g. a
stack.yamlfile that contains:I can do
nix-shell -A package1.env default.nixbut I will only get the dependencies of package1. It would be nice to get the combined environments ofpackage1, package2, package3.I can do this manually, getting all dependencies with
stack ls dependenciesor something similar ...