Skip to content

Commit

Permalink
disable hls for 9.7+
Browse files Browse the repository at this point in the history
We need to find a hls (and have it in haskell.nix) that builds with 9.8 🤦
  • Loading branch information
angerman committed Apr 14, 2024
1 parent 0a021de commit 4fc484c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dynamic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pkgs.mkShell {
++ pkgs.lib.optional pkgs.stdenv.hostPlatform.isLinux systemd
)
++ pkgs.lib.optional (withHLS && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.10" >= 0) compiler-nix-name
pkgs.lib.optional (builtins.compareVersions compiler.version "9.7" >= 0) compiler-nix-name
++ pkgs.lib.optional (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) "ghc902") "Haskell Language Server")) (tool "haskell-language-server")
++ pkgs.lib.optional (withHlint && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.10" >= 0) compiler-nix-name
Expand Down
2 changes: 1 addition & 1 deletion static.nix
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pkgs.mkShell (rec {
stdenv.cc.cc.lib ]) ++ (with pkgs.buildPackages; [
])
++ pkgs.lib.optional (withHLS && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.9" >= 0) compiler-nix-name) "Haskell Language Server")) (tool "haskell-language-server")
pkgs.lib.optional (builtins.compareVersions compiler.version "9.7" >= 0) compiler-nix-name) "Haskell Language Server")) (tool "haskell-language-server")
++ pkgs.lib.optional (withHlint && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.8" >= 0) compiler-nix-name) "HLint")) (tool "hlint")
++ pkgs.lib.optional withIOG (with pkgs; [ cddl cbor-diag ])
Expand Down

0 comments on commit 4fc484c

Please sign in to comment.