Only use -Werror in local package

This commit is contained in:
maralorn 2023-11-27 10:17:29 +01:00
parent c585a41563
commit 73b8e31024
4 changed files with 10 additions and 5 deletions

View file

@ -1,5 +1,9 @@
# Revision history for nix-output-monitor
## 2.1.1 -- ???
* Maintenance: Only use `-Werror` in CI, not in release
## 2.1.0 -- 2023-11-26
* More consistent table alignment calculation (thanks to @9999years)

View file

@ -32,7 +32,7 @@ mkDerivation {
typed-process word8
];
homepage = "https://github.com/maralorn/nix-output-monitor";
description = "Process output of nix commands to show helpful and pretty information";
description = "Processes output of Nix commands to show helpful and pretty information";
license = lib.licenses.agpl3Plus;
mainProgram = "nom";
}

View file

@ -35,6 +35,7 @@
(haskellPackages.callPackage self)
haskellPackages.buildFromCabalSdist
hlib.justStaticExecutables
(hlib.appendConfigureFlag "--ghc-option=-Werror")
(hlib.overrideCabal {
src = cleanSelf;
preCheck = ''

View file

@ -2,10 +2,10 @@ cabal-version: 2.2
name: nix-output-monitor
version: 2.1.0
synopsis:
Process output of nix commands to show helpful and pretty information
Processes output of Nix commands to show helpful and pretty information
description:
A tool which consumes nixs output to enrich your terminal output with useful information.
A tool which consumes Nixs output to enrich your terminal output with useful information.
homepage: https://github.com/maralorn/nix-output-monitor
bug-reports: https://github.com/maralorn/nix-output-monitor/issues
@ -86,7 +86,7 @@ common common-config
default-language: GHC2021
ghc-options:
-Werror -Weverything -Wno-missing-import-lists
-Weverything -Wno-missing-import-lists
-Wno-missing-local-signatures -Wno-implicit-prelude
-Wno-monomorphism-restriction -Wno-missed-specialisations
-Wno-all-missed-specialisations -Wno-missing-kind-signatures
@ -149,8 +149,8 @@ common tests
test-suite unit-tests
import: tests
type: exitcode-stdio-1.0
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Property.hs
test-suite golden-tests