From 733742a5c2da70129d15ebfc25ecfe51b666c258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C3=ABtek=20Bak?= Date: Tue, 22 Dec 2015 23:18:26 +0000 Subject: [PATCH] haskell-stack: tweak formula Simplifies the use of Haskell language support. Downloads from GitHub instead of Hackage. Closes Homebrew/homebrew#47273. Signed-off-by: Baptiste Fontaine --- Formula/haskell-stack.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Formula/haskell-stack.rb b/Formula/haskell-stack.rb index 145cbb9531..6d2e4ae573 100644 --- a/Formula/haskell-stack.rb +++ b/Formula/haskell-stack.rb @@ -5,8 +5,8 @@ class HaskellStack < Formula desc "The Haskell Tool Stack" homepage "http://haskellstack.org" - url "https://hackage.haskell.org/package/stack-0.1.10.1/stack-0.1.10.1.tar.gz" - sha256 "03d3f1cd03cbb70364f013aa6ccaefa07397a76984bc8b7ce51376e0bdc51a7c" + url "https://github.com/commercialhaskell/stack/archive/v0.1.10.1.tar.gz" + sha256 "eb53fafac78e8f84b8c3f57e29f608ef1eb9a40fd92b24aef1be5f6b422982a0" head "https://github.com/commercialhaskell/stack.git" @@ -22,11 +22,7 @@ class HaskellStack < Formula setup_ghc_compilers def install - cabal_sandbox do - cabal_install "--only-dependencies" - cabal_install "--prefix=#{prefix}" - end - cabal_clean_lib + install_cabal_package end test do