commercialhaskell / commercialhaskell/stack
Stack silently swallows the ghc-options when it can't detect any changes in the project
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
First I thought this was just an instance of #1411, but it seems to be bit more:
```
~/s/stack (master) $ stack build
... snip regular build output ...
~/s/stack (master) $ stack build --ghc-options -O2
~/s/stack (master) $ stack build --ghc-options "-O2 -fforce-recomp"
~/s/stack (master) $ stack build --ghc-options -fforce-recomp
~/s/stack (master) $ stack build --ghc-options -wtf
~/s/stack (master) $ stack exec -- ghc -wtf
ghc: unrecognised flag: -wtf
Usage: For basic information, try the `--help' option.
~/s/stack (master) $ stack --version
Version 1.0.5, Git revision 57eb614df50826f38b923e1892cda904288a8ec9 (dirty) (3489 commits) x86_64 hpack-0.12.0
```
Contributor guide
Assessment
This issue has not been assessed yet.