Skip to content

Commit c6dd6c3

Browse files
authored
Merge pull request #274 from haskell-nix/docs
docs: cabal.project.local.ci
2 parents 5666b68 + 8d7a26a commit c6dd6c3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/02-Hacking.org

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ can configure on your system.
5555
To update the CI, edit [[../.github/workflows/ci.dhall][.github/workflows/ci.dhall]] and run [[../.github/workflows/ci.sh][.github/workflows/ci.sh]]
5656
to regenerate the ~yaml~ file. Don't forget to commit both files.
5757

58+
** ~cabal.project.local.ci~
59+
60+
The [[../cabal.project.local.ci][cabal.project.local.ci]] file is used by the CI workflow to alter ~ghc-options~,
61+
enabling e.g. ~-Werror~ and ~-Wunused-packages~. You can copy this to ~cabal.project.local~
62+
to have the same build configuration:
63+
64+
#+begin_src shell
65+
cp cabal.project.local.ci cabal.project.local
66+
#+end_src
67+
5868
* Changelogs
5969

6070
Since the packages are used by others as dependencies in production environments,

0 commit comments

Comments
 (0)