From 33e5f2e53254a7e06a15c1e80e955317164ae292 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jul 2015 19:16:46 -0400 Subject: [PATCH] reorder cabal configure after install of dependencies can't configure w/o all deps installed --- doc/install/fromsource.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/install/fromsource.mdwn b/doc/install/fromsource.mdwn index fdb7823fc3..1c0bc06d7e 100644 --- a/doc/install/fromsource.mdwn +++ b/doc/install/fromsource.mdwn @@ -48,8 +48,8 @@ which is a more stable and consistent version of the Hackage repository. Inside the source tree, run: - cabal configure -f"-assistant -webapp -webdav -pairing -xmpp -dns" cabal install -j -f"-assistant -webapp -webdav -pairing -xmpp -dns" --only-dependencies + cabal configure -f"-assistant -webapp -webdav -pairing -xmpp -dns" cabal build -j PATH=$HOME/bin:$PATH cabal install --bindir=$HOME/bin @@ -65,8 +65,8 @@ Using [Stackage](http://www.stackage.org/) is again a good idea here! Once the C libraries are installed, run inside the source tree: - cabal configure cabal install -j --only-dependencies + cabal configure cabal build -j PATH=$HOME/bin:$PATH cabal install --bindir=$HOME/bin