on 034a7c2 help sign in
25 lines 944 B history raw
1{ 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 = "0.7.1";
9 sha256 = "0gkzvjx4dgf53yicinqjshlj80gznx5khb62i7g3kqjr85iy0raa";
10 };
11 projectFileName = "stack-${buildPackages.haskell-nix.compiler.${
12 if compiler-nix-name == "ghc8103"
13 then "ghc8102"
14 else compiler-nix-name
15 }.version}.yaml";
16 sha256map = {
17 "https://github.com/bubba/brittany.git"."c59655f10d5ad295c2481537fc8abf0a297d9d1c" = "1rkk09f8750qykrmkqfqbh44dbx1p8aq1caznxxlw8zqfvx39cxl";
18 };
19 };
20in recurseIntoAttrs {
21 ifdInputs = {
22 inherit (project) stack-nix;
23 };
24 build = project.hsPkgs.haskell-language-server.components.exes.haskell-language-server;