Skip to content

Commit df8731c

Browse files
committed
Haskell fixes
1 parent 50a18a5 commit df8731c

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

languages/haskell/compilers.nix

+13-11
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
# };
3232
# };
3333

34-
ghc90 = haskell.packages.ghc90.override {
35-
overrides = self: super: {
36-
ghc-parser = self.callCabal2nix "ghc-parser" (
37-
runCommand "ghc-parser-source" {} "cp -r ${ihaskell-source}/ghc-parser $out"
38-
) {};
34+
# ghc90 = haskell.packages.ghc90.override {
35+
# overrides = self: super: {
36+
# ghc-parser = self.callCabal2nix "ghc-parser" (
37+
# runCommand "ghc-parser-source" {} "cp -r ${ihaskell-source}/ghc-parser $out"
38+
# ) {};
3939

40-
ipython-kernel = self.callCabal2nix "ipython-kernel" (
41-
runCommand "ipython-kernel" {} "cp -r ${ihaskell-source}/ipython-kernel $out"
42-
) {};
40+
# ipython-kernel = self.callCabal2nix "ipython-kernel" (
41+
# runCommand "ipython-kernel" {} "cp -r ${ihaskell-source}/ipython-kernel $out"
42+
# ) {};
4343

44-
ihaskell = self.callCabal2nixWithOptions "ihaskell" ihaskell-source "--no-check" {};
45-
};
46-
};
44+
# ihaskell = self.callCabal2nixWithOptions "ihaskell" ihaskell-source "--no-check" {};
45+
# };
46+
# };
4747

4848
ghc92 = haskell.packages.ghc92.override {
4949
overrides = self: super: {
@@ -108,6 +108,8 @@
108108
warp_3_3_29 = null;
109109

110110
ghc-syntax-highlighter = self.ghc-syntax-highlighter_0_0_11_0;
111+
112+
ghc-lib = self.ghc-lib_9_8_2_20240223;
111113
};
112114
};
113115
}

tests/app/Spec/Tests/Haskell/Diagnostics.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module Spec.Tests.Haskell.Diagnostics where
77
import Control.Lens ((^.))
88
import Data.String.Interpolate
99
import Data.Text as T
10-
import Language.LSP.Protocol.Types
1110
import Language.LSP.Protocol.Lens hiding (diagnostics)
11+
import Language.LSP.Protocol.Types
1212
import qualified Spec.Tests.Haskell.Common as HaskellCommon
1313
import Spec.Tests.Haskell.Common hiding (lsName)
1414
import Test.Sandwich as Sandwich
@@ -72,5 +72,5 @@ etaExpandCode = [__i|module Foo where
7272

7373
main :: IO ()
7474
main = runSandwichWithCommandLineArgs Sandwich.defaultOptions $
75-
introduceNixEnvironment [kernelSpec "haskell-ghc924"] [] "Haskell" $
75+
introduceNixEnvironment [kernelSpec "haskell-ghc92"] [] "Haskell" $
7676
diagnosticsTests HaskellCommon.lsName

0 commit comments

Comments
 (0)