|
1 | 1 | {
|
2 | 2 | inputs = {
|
3 |
| - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; |
| 3 | + nixpkgs.url = "github:nixos/nixpkgs/haskell-updates"; |
4 | 4 | flake-parts.url = "github:hercules-ci/flake-parts";
|
5 | 5 | haskell-flake.url = "github:srid/haskell-flake";
|
6 | 6 | treefmt-nix.url = "github:numtide/treefmt-nix";
|
7 | 7 | flake-root.url = "github:srid/flake-root";
|
8 | 8 | mission-control.url = "github:Platonic-Systems/mission-control";
|
9 | 9 |
|
10 |
| - linear-generics = { |
11 |
| - url = "github:linear-generics/linear-generics"; |
12 |
| - flake = false; |
13 |
| - }; |
14 |
| - |
15 |
| - stylish-haskell = { |
16 |
| - url = "github:haskell/stylish-haskell"; |
17 |
| - flake = false; |
18 |
| - }; |
19 |
| - |
20 |
| - nothunks = { |
21 |
| - url = "github:input-output-hk/nothunks"; |
22 |
| - flake = false; |
23 |
| - }; |
24 |
| - |
25 |
| - hls-hlint-plugin = { |
26 |
| - url = "github:haskell/haskell-language-server?dir=plugins/hls-hlint-plugin"; |
27 |
| - flake = false; |
28 |
| - }; |
29 |
| - hls-floskell-plugin = { |
30 |
| - url = "github:haskell/haskell-language-server?dir=plugins/hls-floskell-plugin"; |
31 |
| - flake = false; |
32 |
| - }; |
33 |
| - hls-ormolu-plugin = { |
34 |
| - url = "github:haskell/haskell-language-server?dir=plugins/hls-ormolu-plugin"; |
35 |
| - flake = false; |
36 |
| - }; |
37 |
| - hls-graph = { |
38 |
| - url = "github:haskell/haskell-language-server?dir=hls-graph"; |
39 |
| - flake = false; |
40 |
| - }; |
41 | 10 | nixpkgs-140774-workaround.url = "github:srid/nixpkgs-140774-workaround";
|
42 | 11 | };
|
43 | 12 |
|
|
59 | 28 | inputs.nixpkgs-140774-workaround.haskellFlakeProjectModules.default
|
60 | 29 | ];
|
61 | 30 | packages.hackage-server.root = ./.; # Auto-discovered by haskell-flake
|
| 31 | + |
62 | 32 | overrides = self: super: {
|
63 | 33 | Cabal = super.Cabal_3_10_1_0;
|
64 | 34 | Cabal-syntax = super.Cabal-syntax_3_10_1_0;
|
65 |
| - doctest-parallel = super.doctest-parallel_0_3_0_1; |
66 |
| - |
67 |
| - ghc-lib-parser = super.ghc-lib-parser_9_4_4_20221225; |
68 |
| - ghc-lib-parser-ex = super.ghc-lib-parser-ex_9_4_0_0; |
69 |
| - text = super.text_2_0_2; |
70 |
| - parsec = self.callHackage "parsec" "3.1.16.1" {}; |
71 |
| - |
72 |
| - chell = pkgs.haskell.lib.doJailbreak (self.callHackage "chell" "0.5.0.1" {}); |
73 |
| - ghc-boot-th = self.callHackage "ghc-boot-th" "9.2.1" {}; |
74 |
| - hedgehog = self.callHackage "hedgehog" "1.2" {}; |
75 |
| - tasty-hedgehog = self.callHackage "tasty-hedgehog" "1.4.0.0" {}; |
76 |
| - optparse-applicative = pkgs.haskell.lib.doJailbreak (super.optparse-applicative_0_15_1_0); |
77 |
| - haddock-library = pkgs.haskell.lib.doJailbreak (self.callHackage "haddock-library" "1.11.0" {}); |
78 |
| - |
79 |
| - th-abstraction = self.callHackage "th-abstraction" "0.4.5.0" {}; |
80 |
| - stylish-haskell = super.callCabal2nix "stylish-haskell" inputs.stylish-haskell {}; |
81 |
| - |
82 |
| - nothunks = super.callCabal2nix "nothunks" inputs.nothunks {}; |
83 |
| - |
84 |
| - # requirements of HLS |
85 |
| - # TODO: fix HLS https://github.com/haskell/haskell-language-server/issues/3518 |
86 |
| - ormolu = self.callHackage "ormolu" "0.5.3.0" {}; |
87 |
| - fourmolu = pkgs.haskell.lib.dontCheck (self.callHackage "fourmolu" "0.10.1.0" {}); |
88 |
| - # hls-floskell-plugin = pkgs.haskell.lib.dontCheck (self.callHackage "hls-floskell-plugin" "1.0.2.0" {}); |
89 |
| - # hls-floskell-plugin = self.callCabal2nix "hls-floskell-plugin" inputs.hls-floskell-plugin {}; |
90 |
| - # hls-graph = self.callCabal2nix "hls-graph" inputs.hls-graph {}; |
91 |
| - # hls-graph = self.callHackage "hls-graph" "1.9.0.0" {}; |
92 |
| - # hls-hlint-plugin = self.callCabal2nix "hls-hlint-plugin" inputs.hls-hlint-plugin {}; |
93 |
| - # hls-hlint-plugin = self.callHackage "hls-hlint-plugin" "1.1.2.0" {}; |
94 |
| - # hls-ormolu-plugin = self.callCabal2nix "hls-ormolu-plugin" inputs.hls-ormolu-plugin {}; |
95 |
| - # hls-ormolu-plugin = self.callHackage "hls-ormolu-plugin" "1.0.2.2" {}; |
96 |
| - # hls-ormolu-plugin = self.callHackage "hls-ormolu-plugin" "1.0.3.0" {}; |
97 |
| - # hls-plugin-api = self.callHackage "hls-plugin-api" "1.6.0.0" {}; |
98 |
| - # hls-test-utils = self.callHackage "hls-test-utils" "1.5.0.0" {}; |
99 |
| - |
100 |
| - hlint = self.callHackage "hlint" "3.5" {}; |
101 | 35 |
|
102 | 36 | ghcide = pkgs.haskell.lib.dontCheck (self.callHackage "ghcide" "1.9.0.0" {});
|
| 37 | + |
| 38 | + streamly = self.callHackage "streamly" "0.9.0" {}; |
| 39 | + streamly_0_9_0 = self.callHackage "streamly" "0.9.0" {}; |
103 | 40 | };
|
104 | 41 | devShell = {
|
105 | 42 | hlsCheck.enable = false;
|
|
0 commit comments