Permalink
Browse files

need the cabal update too

  • Loading branch information...
1 parent 648a881 commit f1e4e3c1b09c58d742dafc797dd5579115724773 @mwotton committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -34,7 +34,7 @@ extraIncludeDirs = [\"#{headers}\", \"#{arch_headers}\"]"
# command="cd Haskell; cabal update; cabal install
# --extra-include-dirs=#{RbConfig::CONFIG['rubyhdrdir']}
# --extra-include-dirs=#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']} --extra-lib-dirs=#{RbConfig::CONFIG['libdir']} --user --enable-shared --with-ghc=#{ghc_version}"
- command="cd Haskell; cabal install --extra-include-dirs=#{arch_headers} --extra-include-dirs=#{headers} --extra-lib-dirs=#{lib_dir} --user --enable-shared --with-ghc=#{ghc_version} --verbose --disable-library-profiling"
+ command="cabal update; cd Haskell; cabal install --extra-include-dirs=#{arch_headers} --extra-include-dirs=#{headers} --extra-lib-dirs=#{lib_dir} --user --enable-shared --with-ghc=#{ghc_version} --verbose --disable-library-profiling"
puts "running #{command}"
result=%x{#{command}}
end

0 comments on commit f1e4e3c

Please sign in to comment.