Skip to content

Allow "sandbox without project file" functionality in new Cabal. #3730

Closed
@danidiaz

Description

@danidiaz

For quick and dirty exploratory programming —usually when testing new versions of packages— I sometimes create a cabal sandbox in a folder, and then install the desired packages, without bothering to create a cabal file. I then use cabal exec to gain access to the packages.

cabal sandbox init
cabal install transformers-0.5.2.0
...
cabal exec -- ghci

It would be nice if the new Cabal supported something similar to this. Of course, a possible workaround is to create a dummy project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions