[haskell-stack] Remove now-redundant build flags (#35601)

These flags were added (by me) in #33855, but as of #34714 they are redundant because the underlying issue has been fixed upstream.
This commit is contained in:
Steve Purcell 2019-01-03 00:02:03 +13:00 committed by FX Coudert
parent 6475ac5d53
commit e01fa03776

View file

@ -33,8 +33,7 @@ class HaskellStack < Formula
cabal_sandbox do
cabal_install "happy"
# The flag works around https://github.com/commercialhaskell/stack/issues/4363
cabal_install "--flags=disable-git-info"
cabal_install
# Let `stack` handle its own parallelization
# Prevents "install: mkdir ... ghc-7.10.3/lib: File exists"
@ -45,7 +44,7 @@ class HaskellStack < Formula
"--system-ghc", "--no-install-ghc", "setup"
system "stack", "-j#{jobs}", "--stack-yaml=stack-lts-12.yaml",
"--system-ghc", "--no-install-ghc", "--local-bin-path=#{bin}",
"install", "--flag", "stack:disable-git-info"
"install"
end
end