Skip to content

Commit

Permalink
close actually long standing random bug by adding -threaded to GHC
Browse files Browse the repository at this point in the history
haskell/unix#62

Signed-off-by: Miezhiko <[email protected]>
  • Loading branch information
Miezhiko committed Aug 13, 2024
1 parent 7bfffff commit 16f35ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hake.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: hake
version: 0.3.1.4
version: 0.4.0.0
license: LGPL-2.1
category: Development
author: Miezhiko
Expand Down
2 changes: 1 addition & 1 deletion src/HakeScript.hs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ hakeItF args force pretend hakefile = do
pure $ cscrMTime <= scrMTime
| otherwise -> pure True

when doRecompile $ system (ghcCommand ++ " --make -o " ++ cscr ++ " " ++ hakefile)
when doRecompile $ system (ghcCommand ++ " -threaded --make -o " ++ cscr ++ " " ++ hakefile)
>>= \case ExitFailure ε -> do
hPrint stderr ε
exitFailure
Expand Down

0 comments on commit 16f35ef

Please sign in to comment.