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-08 21:55:48 +01:00
parent a7c18f7a90
commit ea5e442833

View file

@ -2,7 +2,7 @@
, stdenv
, supportedGhcVersions ? [ "884" "8107" "902" ]
++ lib.optionals (!stdenv.hostPlatform.isAarch64) [ "921" ]
, dynamic ? true
, dynamic ? false
, haskellPackages
, haskell
}: