Skip to content

Commit 4fec111

Browse files
committed
Add comment about developing locally
Useful parameters to set in cabal.project
1 parent 9912eb5 commit 4fec111

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,14 @@ GHCID
411411

412412
run *ghcid* with: ``ghcid -c "cabal repl exe:cardano-node --reorder-goals"``
413413

414+
Note: When developing locally, for any package you are working on, in **cabal.project** set, *ghc-options* to ``-Wwarn`` and set the ``development`` flag, e.g.::
415+
416+
package cardano-node
417+
ghc-options: -Wwarn
418+
flags: +development
419+
420+
Otherwise GHC might complain about unused packages.
421+
414422
Haskell Language Server
415423
-----------------------
416424

0 commit comments

Comments
 (0)