Skip to content

Commit

Permalink
example: Disable hlsCheck entirely
Browse files Browse the repository at this point in the history
Seems like recently darwin builds no longer use sandbox.
  • Loading branch information
srid committed Aug 25, 2024
1 parent 6365a8b commit 4c13bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
# Default programs can be disabled by setting to 'null'
# tools = hp: { fourmolu = hp.fourmolu; ghcid = null; };

hlsCheck.enable = pkgs.stdenv.isDarwin; # On darwin, sandbox is disabled, so HLS can use the network.
# Check that haskell-language-server works
# hlsCheck.enable = true; # Requires sandbox to be disabled
};
};

Expand Down

0 comments on commit 4c13bf8

Please sign in to comment.