on iko/ghcjs-patch-master help sign in
Use ghc -threaded when building custom setups (#215)

This is to match how cabal-install builds custom setup executables.

commit05c9b639e31be2312d65d76d9b26192aa4163c64 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateMon 29 Jul 2019, 00:39 (7 years ago) parenta0696a6
1 file changed+1−1
builder/setup-builder.nix+1−1
builder/setup-builder.nix+1−1
@@ -31,7 +31,7 @@ in
3131 for f in Setup.hs Setup.lhs; do
3232 if [ -f $f ]; then
3333 echo Compiling package $f
34− ghc $f '' + (if includeGhcPackage then "-package ghc " else "")
34+ ghc $f -threaded '' + (if includeGhcPackage then "-package ghc " else "")
3535 + ''-package-db ${configFiles}/package.conf.d --make -o ./Setup
3636 setup=$(pwd)/Setup
3737 fi