-
-
Notifications
You must be signed in to change notification settings - Fork 406
Open
Labels
component: hie-biosos: nixosstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: enhancementNew feature or requestNew feature or request
Description
Is your enhancement request related to a problem? Please describe.
The typecheck command which is evoked when running haskell-language-server
in the command line (so as to make sure that all files work with HLS) currently accesses the network via cabal. This makes it impossible to use with Nix, unless sandbox is disabled. See srid/haskell-flake#21
default-hls-check> Severity: DsError
default-hls-check> Message:
default-hls-check> Error when calling cabal exec -v0 -- ghc --print-libdir
default-hls-check> dieVerbatim: user error (cabal: Couldn't establish HTTP connection. Possible cause: HTTP proxy
default-hls-check> server
default-hls-check> is down.
default-hls-check> )
Describe the solution you'd like
Is there a way to make typecheck work without network access?
Describe alternatives you've considered
Using --option sandbox false
in Nix, but this is obviously not a good idea.
srid
Metadata
Metadata
Assignees
Labels
component: hie-biosos: nixosstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: enhancementNew feature or requestNew feature or request