Use more flags when building with default.nix

This commit is contained in:
Niels G. W. Serup 2024-09-15 20:23:10 +02:00
parent 1fe7714c6b
commit 864c515469
No known key found for this signature in database
GPG Key ID: 38EEEBCE67324F19
1 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,9 @@
with import ./nix/common.nix; with import ./nix/common.nix;
haskell.callCabal2nix "byg" ./. { } pkgs.haskell.lib.overrideCabal
(haskell.callCabal2nix "byg" ./. { })
(_: {
configureFlags = [
"--ghc-option=-Werror"
"--ghc-option=-O2"
];
})