Skip to content

Commit e8c35d8

Browse files
Update haskell packages to launch nix-shell in CONTRIBUTING.md (#10221)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 47bbd54 commit e8c35d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CONTRIBUTING.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ $ cabal run cabal -- build --help
3838
```
3939

4040
> [!NOTE]
41-
> If you're using Nix, you might find it convenient to work within a shell that has all the `Cabal` development dependencies:
42-
> ```
43-
> $ nix-shell -p cabal-install ghc ghcid haskellPackages.fourmolu_0_12_0_0 pkgconfig zlib.dev
41+
> If you're using Nix, you might find it convenient to work within a shell that has the following `Cabal` development dependencies:
42+
> ```bash
43+
> $ nix-shell -p cabal-install ghc ghcid pkg-config zlib.dev # incomplete
4444
> ```
45+
> One dependency that we left out in the above command is `haskellPackages.fourmolu_0_12_0_0` which would need to be installed manually.
4546
> 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`.
4647
4748
The location of your build products will vary depending on which version of

0 commit comments

Comments
 (0)