Skip to content

Instantly share code, notes, and snippets.

@takeoutweight
Created March 2, 2014 20:16
Show Gist options
  • Save takeoutweight/9313111 to your computer and use it in GitHub Desktop.
Save takeoutweight/9313111 to your computer and use it in GitHub Desktop.
mkdir ~/.haste
cp -r include ~/.haste/
haste-pkg update libraries/rts.pkg
ghc-pkg describe Cabal | haste-pkg update - --force
# ... in 'libraries/ghc-prim'
haste-inst --unbooted configure
&& haste-inst build --unbooted --install-jsmods --ghc-options=-DHASTE_HOST_WORD_SIZE_IN_BITS=64
&& haste-install-his ghc-prim-0.3.0.0 dist/build
&& haste-pkg update packageconfig #NOTE: different than the others.
# ... in 'libraries/integer-gimp'
haste-inst --unbooted install --ghc-options=-DHASTE_HOST_WORD_SIZE_IN_BITS=64
# ... in 'libraries/base'
haste-inst --unbooted configure
&& haste-inst --unbooted build --install-jsmods --ghc-options=-DHASTE_HOST_WORD_SIZE_IN_BITS=64
&& haste-install-his base-4.6.0.1 dist/build
&& haste-copy-pkg base-4.6.0.1 --package-db=dist/package.conf.inplace
# ... in 'libraries/{array, fursuit, haste-lib}' (We're booted now so should work for any package)
haste-inst configure \
&& haste-inst build --install-jsmods --ghc-options=-UHLINT \
&& haste-install-his haste-lib-0.1 dist/build \
&& haste-copy-pkg haste-lib-0.1 --package-db=dist/package.conf.inplace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment