makeRelative package:ghc-lib-parser

The input is a filepath, which if relative is offset by the package root.