id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,testcase,blockedby,blocking,related,differential
5511,-package should take priority over modules in the filesystem,peteg,,"Imagine I have a GHC package called P. I build it using Cabal and a directory structure like so:
{{{
P/ -- project root, containing P.cabal etc.
P/Code/M.hs
P/Tests/T.hs
}}}
I build P and install it.
In P/ I want to say:
{{{
ghci -package P Tests/T.hs
}}}
but ghci insists on loading Code/M.hs rather than using P - it seems to ignore the -package flag.
cheers
peter",bug,closed,normal,,Package system,7.0.3,wontfix,,,Unknown/Multiple,Unknown/Multiple,Other,,,,,