haskell-language-server: default to statically linking haskell deps

This means we don't use the system linker by default, but decreases
closure size significantly, as we no longer reference every supported
version GHC.
This commit is contained in:
sternenseemann
2022-02-14 18:36:53 +01:00
committed by sterni
parent 632fc5f2b1
commit 288f2ad360
@@ -2,7 +2,7 @@
, stdenv
, supportedGhcVersions ? [ "884" "8107" "902" ]
++ lib.optionals (!stdenv.hostPlatform.isAarch64) [ "921" ]
, dynamic ? true
, dynamic ? false
, haskellPackages
, haskell
}: