haskell-language-server: retain old postInstall if any

This commit is contained in:
sternenseemann 2022-02-08 19:03:18 +01:00 committed by sterni
parent dcb9ff59ca
commit 632fc5f2b1

View File

@ -22,6 +22,8 @@ let
(haskell.lib.compose.overrideCabal (old: {
enableSharedExecutables = dynamic;
postInstall = ''
${old.postInstall or ""}
remove-references-to -t ${hsPkgs.ghc} $out/bin/haskell-language-server
remove-references-to -t ${hsPkgs.shake.data} $out/bin/haskell-language-server
remove-references-to -t ${hsPkgs.js-jquery.data} $out/bin/haskell-language-server