-
Notifications
You must be signed in to change notification settings - Fork 214
/
hie-direnv.yaml
28 lines (27 loc) · 1.04 KB
/
hie-direnv.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
########################################################################
# Custom configuration for haskell-language-server.
#
# Use this instead of the default cradle if you want faster
# reloads and cross-package jump-to-definition.
#
# It requires nix-direnv and your editor must have direnv integration.
#
# To use it, symlink hie-direnv.yaml to hie.yaml.
# Then prepare your environment:
# 1. $ direnv allow
# (this will build and cache the nix-shell)
# 2. $ cabal configure --enable-tests --enable-benchmarks -O0
# (this will provide the build plan which is the basis of the cradle)
# 3. $ cabal build all
# (this will build the Cabal autogen Paths_ modules)
#
# Test your configuration with commands such as:
# $ hie-bios check lib/wallet/src/Cardano/Wallet.hs
# $ haskell-language-server lib/wallet/exe/cardano-wallet.hs
#
# See https://github.com/haskell/hie-bios for information about the
# cradle yaml config format.
########################################################################
cradle:
bios:
program: "./scripts/hie-bios.sh"