Skip to content

Commit 3e566d5

Browse files
committed
Set -Werror for everything in CI again
This proves somewhat annoying, unfortunately. See input-output-hk/haskell.nix#519 for details.
1 parent c54fba2 commit 3e566d5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

nix/haskell.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ let
4747
plutus-use-cases.doHaddock = false;
4848
plutus-scb.doHaddock = false;
4949
plutus-ledger.doHaddock = false;
50+
# FIXME: Haddock mysteriously gives a spurious missing-home-modules warning
51+
plutus-tx-plugin.doHaddock = false;
5052

5153
# Fix missing executables on the paths of the test runners. This is arguably
5254
# a bug, and the fix is a bit of a hack.
@@ -67,6 +69,30 @@ let
6769

6870
# plc-agda is compiled from the Haskell source files generated from the Agda
6971
plc-agda.src = "${metatheory.plutus-metatheory-compiled}/share/agda";
72+
73+
# Werror everything. This is a pain, see https://github.com/input-output-hk/haskell.nix/issues/519
74+
deployment-server.package.ghcOptions = "-Werror";
75+
iots-export.package.ghcOptions = "-Werror";
76+
language-plutus-core.package.ghcOptions = "-Werror";
77+
marlowe.package.ghcOptions = "-Werror";
78+
marlowe-hspec.package.ghcOptions = "-Werror";
79+
marlowe-symbolic.package.ghcOptions = "-Werror";
80+
marlowe-playground-server.package.ghcOptions = "-Werror";
81+
playground-common.package.ghcOptions = "-Werror";
82+
plc-agda.package.ghcOptions = "-Werror";
83+
plutus-book.package.ghcOptions = "-Werror";
84+
plutus-contract.package.ghcOptions = "-Werror";
85+
plutus-contract-tasty.package.ghcOptions = "-Werror";
86+
plutus-emulator.package.ghcOptions = "-Werror";
87+
plutus-ir.package.ghcOptions = "-Werror";
88+
plutus-ledger.package.ghcOptions = "-Werror";
89+
plutus-playground-lib.package.ghcOptions = "-Werror";
90+
plutus-playground-server.package.ghcOptions = "-Werror";
91+
plutus-scb.package.ghcOptions = "-Werror";
92+
plutus-tx.package.ghcOptions = "-Werror";
93+
plutus-tx-plugin.package.ghcOptions = "-Werror";
94+
plutus-tutorial.package.ghcOptions = "-Werror";
95+
plutus-use-cases.package.ghcOptions = "-Werror";
7096
};
7197
}
7298
];

0 commit comments

Comments
 (0)