Skip to content

Commit 63ba56a

Browse files
author
Julien Debon
committed
Rework manual explicit configuration
1 parent 739e58f commit 63ba56a

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docs/configuration.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,24 @@ gen-hie > hie.yaml # In the root directory of your project
111111
### Explicit, manual configuration
112112
Maybe using the generated `hie.yaml` file does not suit you.
113113
E.g., it still does not work, or you want to fine-tune the configuration.
114-
We recommend to start from the `hie.yaml` file generated by `implicit-hie` (see previous section) and modify it to suit your needs.
115114

116-
For that you need to know what *components* your project has, and the path associated with each one.
117-
So you will need some knowledge about
118-
[stack](https://docs.haskellstack.org/en/stable/build_command/#components) or [cabal](https://cabal.readthedocs.io/en/latest/cabal-commands.html?#cabal-v2-build) components.
119-
120-
**For a full explanation of how to configure it manually, refer to the [hie-bios documentation](https://github.com/mpickering/hie-bios/blob/master/README.md).**
115+
In that case, refer to the [hie-bios explicit configuration documentation](https://github.com/haskell/hie-bios#explicit-configuration).
116+
Keep in mind that you can start from the `hie.yaml` file generated by `implicit-hie` (see previous section) and modify it to your liking.
121117

122118
#### Examples of explicit `hie-yaml` configurations
123119

120+
##### Basic Stack
121+
```yaml
122+
cradle:
123+
stack:
124+
```
125+
126+
##### Basic Cabal
127+
```yaml
128+
cradle:
129+
cabal:
130+
```
131+
124132
##### Single Stack component
125133
126134
```yaml

0 commit comments

Comments
 (0)