haskell / haskell/cabal

Document or fix -- and @foo broken as parameter argument

Open
#6,052 8 comments 0 reactions 0 assignees View on GitHub
blocked: upstream documentation meta: easy newcomer newcomer: 2-one-file-change
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

With `cabal-install-2.4`

```
% cabal v2-build --project-file -- -w ghc-8.4.4 fin
% cabal v2-build --project-file @projectfile -w ghc-8.4.4 fin
```

works, where `--` and `@projectfile` are actual files on the filesystem.

In current `master` preprocessing will break this kind of usage.

I'm personally ok with not fixing such corner cases, but they should be documented. I have no idea what are "industry practice" regarding response files, are actual other input files starting with `@` simply prohibited?

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.