commercialhaskell / commercialhaskell/stack

stack new: non-empty DIRS does not provide a way to add '.' to packages

Open
#2,113 2 comments 0 reactions 0 assignees View on GitHub
awaiting pull request type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Specifying any DIRS for stack new wipes out the default entry of '.' for packages in stack.yaml. I can find no way to put it back. Specifying '.' as one of the DIRS causes a recursive include of all packages from the current directory.

Example: [stack-dirs.txt](https://github.com/commercialhaskell/stack/files/253280/stack-dirs.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.