on 19052d8 help sign in
26 lines 1.3 kB history raw
1{ stdenv, lib, testSrc, haskell-nix, evalPackages, buildPackages, compiler-nix-name, recurseIntoAttrs }:
2let
3 project = buildPackages.haskell-nix.project' {
4 inherit compiler-nix-name;
5 src = evalPackages.fetchgit {
6 url = "https://github.com/haskell/haskell-language-server.git";
7 fetchSubmodules = true;
8 rev = "32cd57df639d67ac0cf29882839e00532fd30c84";
9 sha256 = "sha256-tMKVUn0/vk4z4pKz1pMK5lDA630/dDBieQsJ21mGJFQ=";
10 };
11 projectFileName = "stack-${buildPackages.haskell-nix.compiler.${compiler-nix-name}.version}.yaml";
12 sha256map = {
13 "https://github.com/alanz/ghc-exactprint.git"."6748e24da18a6cea985d20cc3e1e7920cb743795" = "18r41290xnlizgdwkvz16s7v8k2znc7h215sb1snw6ga8lbv60rb";
14 "https://github.com/bubba/brittany.git"."c59655f10d5ad295c2481537fc8abf0a297d9d1c" = "1rkk09f8750qykrmkqfqbh44dbx1p8aq1caznxxlw8zqfvx39cxl";
15 "https://github.com/hsyl20/ghc-api-compat.git"."8fee87eac97a538dbe81ff1ab18cff10f2f9fa15" = "sha256-byehvdxQxhNk5ZQUXeFHjAZpAze4Ct9261ro4c5acZk=";
16 };
17 };
18in recurseIntoAttrs {
19 ifdInputs = {
20 inherit (project) stack-nix;
21 };
22 build = project.hsPkgs.haskell-language-server.components.exes.haskell-language-server;
24 # Haskell Language Server does not build for GHC 9 or 8.10.7 yet
25 meta.disabled = __elem compiler-nix-name ["ghc901" "ghc8107"];