Skip to content

Commit 24a4603

Browse files
authored
Merge pull request #9218 from yvan-sraka/nix-devshell
Update `CONTRIBUTING.md` with Nix developer shell instructions
2 parents 30bb110 + d737d71 commit 24a4603

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're using Nix, you might find it convenient to work within a shell that has all the `Cabal` development dependencies:
20+
> ```
21+
> $ nix-shell -p cabal-install ghc ghcid haskellPackages.fourmolu_0_12_0_0 pkgconfig zlib.dev
22+
> ```
23+
> A Nix flake developer shell with these dependencies is also available, supported solely by the community, through the command `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)