Skip to content
Snippets Groups Projects
Commit 679812d2 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Comment on #2971 at the relevant place needing a fix.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent e250bccf
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,12 @@ ppHsc2hs bi lbi =
++ ["-o", outFile, inFile]
}
where
-- TODO: installedPkgs contains ALL dependencies associated with
-- the package, but we really only want to look at packages for the
-- *current* dependency. We should use PackageIndex.dependencyClosure
-- on the direct depends of the component. Can't easily do that,
-- because the signature of this function is wrong. Tracked with
-- #2971 (which has a test case.)
pkgs = PackageIndex.topologicalOrder (packageHacks (installedPkgs lbi))
isOSX = case buildOS of OSX -> True; _ -> False
isELF = case buildOS of OSX -> False; Windows -> False; AIX -> False; _ -> True;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment