Add array as default package to Shake build system.
authorDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:27:00 +0000 (01:27 -0800)
committerDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:27:00 +0000 (01:27 -0800)
Nofib.hs

index 0382cf9..01ec308 100644 (file)
--- a/Nofib.hs
+++ b/Nofib.hs
@@ -214,7 +214,7 @@ buildRules r Build{..} = do
             name = takeFileName dir
         putNormal $ "==nofib== " ++ name ++ " : time to link " ++ name ++ " follows..."
         withResource r 1 $
-            system' compiler $ ["-Rghc-timing","-rtsopts","-o",out] ++ os ++ way ++ words (config "SRC_HC_OPTS")
+            system' compiler $ ["-package","array","-Rghc-timing","-rtsopts","-o",out] ++ os ++ way ++ words (config "SRC_HC_OPTS")
         putNormal $ "==nofib== " ++ name ++ ": size of " ++ name ++ " follows..."
         system' "size" [out]