Skip to content

Commit a0ba872

Browse files
committed
Add Nix developer shell instructions to CONTRIBUTING.md
1 parent 747af13 commit a0ba872

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ If not, you aren't able to build the testsuite, so you need to disable the defau
1515
cabal build --project-file=cabal.project.release cabal
1616
```
1717

18+
> **Note**
19+
> If you use Nix, it might be convenient to work in a shell that contains all `Cabal` development dependencies:
20+
> ```
21+
> $ nix-shell -p ghc -p cabal-install -p zlib.dev -p pkgconfig -p haskellPackages.fourmolu -p ghcid
22+
> ```
23+
1824
The location of your build products will vary depending on which version of
1925
cabal-install you use to build; see the documentation section
2026
[Where are my build products?](http://cabal.readthedocs.io/en/latest/nix-local-build.html#where-are-my-build-products)

0 commit comments

Comments
 (0)