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 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Modulecabal-install-3.18.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