Skip to content

Commit

Permalink
[ci skip] Add a comment that ghc-options is only supported inside pac…
Browse files Browse the repository at this point in the history
…kage stanza.

Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Sep 3, 2016
1 parent d5693d0 commit 4c909d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cabal/doc/nix-local-build.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,12 @@ package bytestring
ghc-options: -fno-state-hack
~~~~~~~~~~~~~~~~

`ghc-options` is not specifically described in this documentation,
but is one of many fields for configuring programs. They take the form
`progname-options` and `progname-location`, and
can only be set inside package stanzas. (TODO: They are not supported
at top-level, see [#3579](https://github.com/haskell/cabal/issues/3579))

At the moment, there is no way to specify an option to apply
to all external packages or all inplace packages. Additionally,
it is only possible to specify these options on the command
Expand Down

0 comments on commit 4c909d8

Please sign in to comment.