Skip to content

Commit 292f459

Browse files
lf-cydparser
authored andcommitted
At least it works in nix on 9.4
1 parent 3a2a83b commit 292f459

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

configuration-ghc-94.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ let
1717
# https://github.com/nikita-volkov/ptr-poker/issues/11
1818
ptr-poker = hself.callCabal2nix "ptr-poker" inputs.ptr-poker { };
1919

20+
# Freezes in test for some reason.
2021
ghc-exactprint =
21-
hself.callCabal2nix "ghc-exactprint" inputs.ghc-exactprint-160 { };
22+
dontCheck (hself.callCabal2nix "ghc-exactprint" inputs.ghc-exactprint-160 { });
2223
hlint = hsuper.callCabal2nix "hlint" inputs.hlint-35 {};
2324

2425
stylish-haskell = appendConfigureFlag hsuper.stylish-haskell "-fghc-lib";
2526

2627
# Re-generate HLS drv excluding some plugins
2728
haskell-language-server =
2829
hself.callCabal2nixWithOptions "haskell-language-server" ./.
29-
(pkgs.lib.concatStringsSep " " [ "-fpedantic" "-f-hlint" ]) { };
30-
30+
# Pedantic cannot be used due to -Werror=unused-top-binds
31+
# Check must be disabled due to some missing required files
32+
(pkgs.lib.concatStringsSep " " [ "--no-check" "-f-pedantic" "-f-hlint" ]) { };
3133
});
3234
in {
3335
inherit disabledPlugins;

0 commit comments

Comments
 (0)