From 3c5d55c49054bb6e0e898d826485376a3084ab8e Mon Sep 17 00:00:00 2001 From: Andrei Borzenkov Date: Wed, 21 Aug 2024 16:14:48 +0400 Subject: [PATCH] Add proper cabal build CLI argument in the README instructions Use existing command line flag instead of giving strange instructions involving command abortion. --- Readme.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.markdown b/Readme.markdown index 62d2cf6..74f2b47 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -136,8 +136,8 @@ cabal solution: 1. Create `cabal.project` in new directory list all packages that are fetched from git there. -2. Run `cabal build all` and immediately interrupt build. We are only interested - in build plan. Make sure to use same GHC version since build plan *depends* +2. Run `cabal build all --only-configure` to generate the build plan. + Make sure to use same GHC version since build plan *depends* on it. 3. Run `./sh/extract-cabal.sh path/to/project_dir`. It will produce list of