git.iko.soy/typeable/entropy
on main help sign in
Merge pull request #39 from RyanGlScott/master

Use ghcProgram in Setup.hs script

commitc682fcd6cc2bcaa5cab9f6e59a93faf8c9938221 authorThomas M. DuBuisson <thomas.dubuisson@gmail.com> dateMon 7 May 2018, 09:07 (8 years ago) parent74fed23fa82202
1 file changed+1−2
Setup.hs+1−2
Setup.hs+1−2
@@ -17,8 +17,7 @@ main = defaultMainWithHooks hk
1717 where
1818 hk = simpleUserHooks { buildHook = \pd lbi uh bf -> do
1919 -- let ccProg = Program "gcc" undefined undefined undefined
20− let hcProg = Program "ghc" undefined undefined undefined
21− mConf = lookupProgram hcProg (withPrograms lbi)
20+ let mConf = lookupProgram ghcProgram (withPrograms lbi)
2221 err = error "Could not determine C compiler"
2322 cc = locationPath . programLocation . maybe err id $ mConf
2423 b <- canUseRDRAND cc