Skip to content

project environment #138

Open
Open
@MMesch

Description

@MMesch

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions