Skip to content

Commit 3c27b5b

Browse files
committed
Disable enableHLSCheck by default (see #21)
1 parent ec8e55a commit 3c27b5b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

flake-module.nix

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,17 @@ in
7575
};
7676
enableHLSCheck = mkOption {
7777
type = types.bool;
78-
description = ''Whether to enable a flake check to verify if HLS works (equivalent of `nix develop -i -c haskell-language-server`).'';
79-
default = true;
78+
description = ''
79+
Whether to enable a flake check to verify that HLS works.
80+
81+
This is equivalent to `nix develop -i -c haskell-language-server`.
82+
83+
Note that, HLS will try to access the network through Cabal (see
84+
https://github.com/haskell/haskell-language-server/issues/3128),
85+
therefore sandboxing must be disabled when evaluating this
86+
check.
87+
'';
88+
default = false;
8089
};
8190
};
8291
});

0 commit comments

Comments
 (0)