on ef6ca0f help sign in
23 lines 1.2 kB 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 = "c966e6f8b7be1ec7ca8dc5084fe7f2e6432c50f0";
9 sha256 = "1msjprk4g5v7aqpaa8zg34q999yxz0hg7zavc8a89p7yczss9h28";
10 };
11 projectFileName = "stack-${haskell-nix.compiler.${if compiler-nix-name == "ghc8102" then "ghc8101" else compiler-nix-name}.version}.yaml";
12 modules = [{ config.compiler.nix-name = lib.mkForce compiler-nix-name; }];
13 sha256map = {
14 "https://github.com/DanielG/cabal-helper.git"."79a5608778493bf32e74b54bbf1ea2729941e50f" = "1jsiwg94yy8pwhzi3z6ayja9qdgf7fl6xn1h9z681j6lhbx225f8";
15 "https://github.com/bubba/brittany.git"."c59655f10d5ad295c2481537fc8abf0a297d9d1c" = "1rkk09f8750qykrmkqfqbh44dbx1p8aq1caznxxlw8zqfvx39cxl";
16 };
17 };
18in recurseIntoAttrs {
19 ifdInputs = {
20 inherit (project) stack-nix;
21 };
22 build = project.hsPkgs.haskell-language-server.components.exes.haskell-language-server;