compatible with cabal-sandbox and cabal-dev