From 101b48e1ed8dc9e8956f5b5e2a3ae2fb139ad722 Mon Sep 17 00:00:00 2001 From: Travis Staton Date: Tue, 8 Aug 2023 13:18:11 -0400 Subject: [PATCH] add haskell-language-server-wrapper symlink --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 231e488f03..73bfcd2d61 100644 --- a/flake.nix +++ b/flake.nix @@ -119,6 +119,13 @@ ormolu = { version = ormolu-ver; }; haskell-language-server = { version = "latest"; + modules = [ + { + packages.haskell-language-server.components.exes.haskell-language-server.postInstall = '' + ln -sr "$out/bin/haskell-language-server" "$out/bin/haskell-language-server-wrapper" + ''; + } + ]; # specify flags via project file rather than a module override # https://github.com/input-output-hk/haskell.nix/issues/1509 cabalProject = ''