List all source files of a given add-source dependency. Exits with error if something is wrong (e.g. there is no .cabal file in the given directory).
Used in sandbox and projectbuilding. TODO: when sandboxes are removed, move to ProjectBuilding.
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Modulecabal-install-3.16.0.0Haskell2010
Utilities to implement cabal v2-sdist.
List all source files of a given add-source dependency. Exits with error if something is wrong (e.g. there is no .cabal file in the given directory).
Used in sandbox and projectbuilding. TODO: when sandboxes are removed, move to ProjectBuilding.
packageDirToSdist :: Verbosity-> GenericPackageDescriptionread in GPD
-> FilePathdirectory containing that GPD
-> IO ByteStringresulting sdist tarball
Create a tarball for a package in a directory