Skip to content

Commit 1aa4e06

Browse files
committed
Add Nix developer shell instructions to CONTRIBUTING.md
1 parent 30bb110 commit 1aa4e06

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ 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 cabal-install ghc ghcid haskellPackages.fourmolu_0_12_0_0 pkgconfig zlib.dev
22+
> ```
23+
> This also provided, with only community support, by `nix develop github:yvan-sraka/cabal.nix`.
24+
1825
The location of your build products will vary depending on which version of
1926
cabal-install you use to build; see the documentation section
2027
[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)