Skip to content

Instantly share code, notes, and snippets.

@ndmitchell
Created March 7, 2018 20:36
Show Gist options
  • Save ndmitchell/eb5e42443065c0e3a90dbf97199fe758 to your computer and use it in GitHub Desktop.
Save ndmitchell/eb5e42443065c0e3a90dbf97199fe758 to your computer and use it in GitHub Desktop.
File for loading ghc in ghci, see https://github.com/ndmitchell/ghcid/issues/14
-- To use:
-- Place this file in compiler/.ghci
-- stack exec --stack-yaml=../hadrian/stack.yaml -- ghci -package-db=../_build/stage0/bootstrapping.conf
:set -ibackpack
:set -ibasicTypes
:set -icmm
:set -icodeGen
:set -icoreSyn
:set -ideSugar
:set -ighci
:set -ihsSyn
:set -iiface
:set -illvmGen
:set -imain
:set -inativeGen
:set -iparser
:set -iprelude
:set -iprofiling
:set -irename
:set -isimplCore
:set -isimplStg
:set -ispecialise
:set -istgSyn
:set -istranal
:set -itypecheck
:set -itypes
:set -iutils
:set -ivectorise
:set -I../compiler
:set -I../_build/stage1/compiler
:set -i../_build/stage1/compiler
:set -I../_build/generated
:set -I../includes
:set -package=ghc-boot-th
:set -fno-code
:set -DSTAGE=2
:set -XNoImplicitPrelude
:set -package-db=C:\Neil\ghc\feb2018\ghc\_build\stage0\bootstrapping.conf
:load GHC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment