diff options
author | 2013-03-10 17:21:13 -0400 | |
---|---|---|
committer | 2013-03-10 17:21:13 -0400 | |
commit | e4fd84ea2cd2dda27306ade7ced75f0a1dc53cbe (patch) | |
tree | 6c5e0ef9a109564f5e289e4803a1c58d509b4626 | |
parent | bb2ac9043502bbfcd807959dfe919637c500d753 (diff) |
switch CABAL to cabal
<joeyh> anyone know why runghc Setup.hs is behaving differently than cabal configure for me?
<joeyh> I'm getting different flags selected
<geekosaur> joeyh, runghc Setup.hs uses --global by default
<geekosaur> cabal uses --local
<nomeata> joeyh: I don’t know the reasons, but I have made similar observations as well
<geekosaur> and if that means different libraries/versions visible, that can affect flag solving
<joeyh> aha!
<monochrom> it is because Cabal authors expect normal people to use cabal-install and linux distro creators to use Setup
<monochrom> the expectation is documented nowhere
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ all=git-annex $(mans) docs GHC?=ghc GHCMAKE=$(GHC) $(GHCFLAGS) --make PREFIX=/usr -CABAL?=runhaskell Setup.hs +CABAL?=cabal # set to "runghc Setup.hs" if you lack a cabal program # Am I typing :make in vim? Do a fast build. ifdef VIM |