Skip to content

Commit

Permalink
caball_instal should use max-backjumps=-1
Browse files Browse the repository at this point in the history
The default max-backjumps can be too low, especially since
Language::Haskell::Cabal doesn't guarantee an LTS config.

In particular, this fixes a git-annex build failure in Homebrew#47950
  • Loading branch information
ilovezfs committed Feb 14, 2016
1 parent 916e6ae commit 8404a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/language/haskell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def cabal_sandbox_add_source(*args)
end

def cabal_install(*args)
system "cabal", "install", "--jobs=#{ENV.make_jobs}", *args
system "cabal", "install", "--jobs=#{ENV.make_jobs}", "--max-backjumps=-1", *args
end

def cabal_install_tools(*tools)
Expand Down

0 comments on commit 8404a28

Please sign in to comment.