Skip to content
Snippets Groups Projects
Commit d91caa2b authored by Dominyk Tiller's avatar Dominyk Tiller
Browse files

languages/haskell: style nits

parent fff140cb
No related branches found
No related tags found
No related merge requests found
module Language
module Haskell
module Cabal
def self.included(base)
# use llvm-gcc on Lion or below, as when building GHC)
......@@ -18,7 +17,7 @@ module Language
ENV["HOME"] = home
system "cabal", "sandbox", "init"
cabal_sandbox_bin = pwd/".cabal-sandbox"/"bin"
cabal_sandbox_bin = pwd/".cabal-sandbox/bin"
mkdir_p cabal_sandbox_bin
# make available any tools that will be installed in the sandbox
......@@ -26,7 +25,7 @@ module Language
ENV.prepend_path "PATH", cabal_sandbox_bin
# avoid updating the cabal package database more than once
system "cabal", "update" unless (home/".cabal"/"packages").exist?
system "cabal", "update" unless (home/".cabal/packages").exist?
yield
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment