Add unlit to GHC's runtime dependencies
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 9 Feb 2018 02:30:00 +0000 (02:30 +0000)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 9 Feb 2018 02:30:00 +0000 (02:30 +0000)
src/Builder.hs

index ae967ab..67e1634 100644 (file)
@@ -145,12 +145,14 @@ instance H.Builder Builder where
         Ghc _ _ -> do
             win <- windowsHost
             touchyPath <- programPath (vanillaContext Stage0 touchy)
-            return $ [ inplaceLibPath -/- "ghc-usage.txt"
+            unlitPath  <- builderPath Unlit
+            return $ [ ghcSplitPath -- TODO: Make conditional on --split-objects
+                     , inplaceLibPath -/- "ghc-usage.txt"
                      , inplaceLibPath -/- "ghci-usage.txt"
                      , inplaceLibPath -/- "llvm-targets"
                      , inplaceLibPath -/- "platformConstants"
                      , inplaceLibPath -/- "settings"
-                     , ghcSplitPath ] -- TODO: Make conditional on --split-objects
+                     , unlitPath ]
                   ++ [ touchyPath | win ]
 
         Haddock _ -> return [haddockHtmlResourcesStamp]