Fix bug in compileGHC cleanup logic

This commit is contained in:
Julian Ospald 2020-09-17 21:20:38 +02:00
parent 563924ff26
commit 59ece98fdc
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -840,7 +840,7 @@ compileGHC dls tver bstrap jobs mbuildConfig patchdir aargs pfreq@(PlatformReque
(bindist, bmk) <- liftE $ runBuildAction (bindist, bmk) <- liftE $ runBuildAction
tmpUnpack tmpUnpack
(Just ghcdir) Nothing
(do (do
b <- compileBindist bghc ghcdir workdir b <- compileBindist bghc ghcdir workdir
bmk <- liftIO $ readFileStrict (build_mk workdir) bmk <- liftIO $ readFileStrict (build_mk workdir)