add derefPkg and derefSrcPkg; also recurse haskell build tools