on master help sign in
Set -threaded in ob profile
commit7ce5d5bf64b905b30b094e1cd14e66895048b5a0 authorMatthew Bauer <mjbauer95@gmail.com> dateThu 13 Feb 2020, 18:56 (7 years ago) parentba85ebf
1 file changed+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
@@ -109,7 +109,7 @@ main = do
109109 '';
110110in obelisk.nixpkgs.runCommand "ob-run" {
111111 buildInputs = [ (profiled.ghc.ghcWithPackages (p: [ p.backend p.frontend])) ];
112−} "ghc -x hs -prof -fno-prof-auto ${exeSource} -o $out"
112+} "ghc -x hs -prof -fno-prof-auto -threaded ${exeSource} -o $out"
113113|]
114114 exePath <- nixCmd $ NixCmd_Build $ def
115115 & nixBuildConfig_outLink .~ OutLink_None