From e8c35d82f8706efc978301834a0d16e7bc50cfef Mon Sep 17 00:00:00 2001 From: Taimoor Zaeem Date: Thu, 8 Aug 2024 21:32:41 +0500 Subject: [PATCH] Update haskell packages to launch nix-shell in CONTRIBUTING.md (#10221) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- CONTRIBUTING.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c6944eb1227..2049b978528 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: -> ``` -> $ nix-shell -p cabal-install ghc ghcid haskellPackages.fourmolu_0_12_0_0 pkgconfig zlib.dev +> If you're using Nix, you might find it convenient to work within a shell that has the following `Cabal` development dependencies: +> ```bash +> $ nix-shell -p cabal-install ghc ghcid pkg-config zlib.dev # incomplete > ``` +> One dependency that we left out in the above command is `haskellPackages.fourmolu_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