Files
Hamish Mackenzie fe7d738070 Fix hls build for ghc 9.2 (#1592)
This adds `flags: -haddockcomments` to the default cabal.project of haskell-language-server to fix building on ghc 9.2
2022-08-18 18:32:16 +12:00

13 lines
468 B
Nix

{ stdenv, testSrc, haskell-nix, compiler-nix-name, evalPackages, recurseIntoAttrs }:
let
inherit (haskell-nix.tool compiler-nix-name "haskell-language-server" { inherit evalPackages; }) project;
in recurseIntoAttrs {
ifdInputs = {
inherit (project) plan-nix;
};
build = project.getComponent "haskell-language-server:exe:haskell-language-server";
# hls does not need to be cross compiled.
meta.disabled = stdenv.hostPlatform != stdenv.buildPlatform;
}