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.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulecabal-install-3.12.1.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