Skip to content

Instantly share code, notes, and snippets.

@erantapaa
Last active October 22, 2015 22:01
Show Gist options
  • Save erantapaa/719b40783cbfe09f8067 to your computer and use it in GitHub Desktop.
Save erantapaa/719b40783cbfe09f8067 to your computer and use it in GitHub Desktop.
building threadscope
# Script to install threadscope.
#
# Also see:
# - http://www.edsko.net/2015/03/09/sandboxes-revisited/
# - http://stackoverflow.com/a/33105802/866915
cabal sandbox init
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig
brew install gtk+
brew install poppler
cabal install gtk2hs-buildtools
cabal install gtk
cabal install poppler --with-gcc=gcc-4.9 --extra-include-dirs=/usr/local/include
cabal install threadscope
constraints:
cairo == 0.13.1.0
, ghc-events == 0.4.4.0
, gio == 0.13.1.0
, glib == 0.13.2.1
, gtk == 0.13.9
, gtk2hs-buildtools == 0.13.0.4
, hashtables == 1.2.0.2
, pango == 0.13.1.0
, poppler == 0.13.1
, threadscope == 0.2.7
, utf8-string == 1.0.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment