mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
fe7d738070
This adds `flags: -haddockcomments` to the default cabal.project of haskell-language-server to fix building on ghc 9.2
13 lines
468 B
Nix
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;
|
|
}
|