summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-03 20:41:01 +0000
committerIan Lynagh <igloo@earth.li>2008-09-03 20:41:01 +0000
commit3a006cb547b5e0fafe2add853209519e6d4a1ccc (patch)
tree245fbf7ecefebbaf789acc708c54f8ad93ef5ef3 /libraries
parentf16dbbbe59cf3aa19c5fd384560a1b89076d7bc8 (diff)
downloadhaskell-3a006cb547b5e0fafe2add853209519e6d4a1ccc.tar.gz
Fix ifBuildable
Required libraries now have 3 fields in the packages file, not 2
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ifBuildable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ifBuildable.hs b/libraries/ifBuildable.hs
index 7364a1135a..68b619751b 100644
--- a/libraries/ifBuildable.hs
+++ b/libraries/ifBuildable.hs
@@ -33,7 +33,7 @@ getMustBeBuildables :: FilePath -> IO [String]
getMustBeBuildables packagesFile
= do xs <- readFile packagesFile
let nonCommentLines = filter (("#" /=) . take 1) $ lines xs
- requiredLines = filter ((2 == ) . length) $ map words nonCommentLines
+ requiredLines = filter ((3 == ) . length) $ map words nonCommentLines
requiredLibraries = [ x | 'l':'i':'b':'r':'a':'r':'i':'e':'s':'/':x
<- map head requiredLines ]
return $ filter ("editline" /=) requiredLibraries