Skip to content

Commit

Permalink
Update haskell packages to launch nix-shell in CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taimoorzaeem committed Jul 27, 2024
1 parent 356c2f4 commit 6b6a509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ $ cabal run cabal -- build --help
```

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

0 comments on commit 6b6a509

Please sign in to comment.