Skip to content

Commit

Permalink
Merge pull request #645 from stackbuilders/haskell/fix-language-server
Browse files Browse the repository at this point in the history
haskell: Fix error when `languageServer` is set to `null`
  • Loading branch information
domenkozar authored Jun 3, 2023
2 parents b5d2da4 + 4618f40 commit 873e790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/languages/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ in
config = lib.mkIf cfg.enable {
packages = with pkgs; [
cfg.package
cfg.languageServer
stack
cabal-install
zlib
hpack
];
]
++ (lib.optional (cfg.languageServer != null) cfg.languageServer);
};
}

0 comments on commit 873e790

Please sign in to comment.