Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
installMaybeExecutableFiles :: Verbosity -> FilePath -> [(FilePath, FilePath)] -> IO ()Cabal Distribution.Simple.Utils This is like copyFiles but uses installMaybeExecutableFile.
installOrdinaryFile :: Verbosity -> FilePath -> FilePath -> IO ()Cabal Distribution.Simple.Utils Install an ordinary file. This is like a file copy but the permissions are set appropriately for an installed file. On Unix it is "-rw-r--r--" while on Windows it uses the default permissions for the target directory.
installOrdinaryFiles :: Verbosity -> FilePath -> [(FilePath, FilePath)] -> IO ()Cabal Distribution.Simple.Utils This is like copyFiles but uses installOrdinaryFile.
installDirTemplates :: PackageBuildDescr -> InstallDirTemplatesCabal Distribution.Types.LocalBuildConfig The installation directories for the various different kinds of files TODO: inplaceDirTemplates :: InstallDirs FilePath
installedPkgs :: ComponentBuildDescr -> InstalledPackageIndexCabal Distribution.Types.LocalBuildConfig All the info about the installed packages that the current package depends on (directly or indirectly). The copy saved on disk does NOT include internal dependencies (because we just don't have enough information at this point to have an InstalledPackageInfo for an internal dep), but we will often update it with the internal dependencies; see for example build. (This admonition doesn't apply for per-component builds.)
withAllTargetsInBuildOrder :: LocalBuildInfo -> (TargetInfo -> IO ()) -> IO ()Cabal Distribution.Types.LocalBuildInfo Warning: By using this function, you may be introducing a bug where you retrieve a Component which does not have HookedBuildInfo applied to it. See the documentation for HookedBuildInfo for an explanation of the issue. If you have a PackageDescription handy (NOT from the LocalBuildInfo), try using the primed version of the function, which takes it as an extra argument.
-
Cabal Distribution.Types.LocalBuildInfo Execute f for every TargetInfo in the package, respecting the build dependency order. (TODO: We should use Shake!) Has a prime because it takes a PackageDescription argument which may disagree with localPkgDescr in LocalBuildInfo.
type
ParStratInstall = ParStratX IntCabal Distribution.Types.ParStrat Used by cabal-install to say we want to create a semaphore with N slots.
isParallelBuild :: ParStratX n -> BoolCabal Distribution.Types.ParStrat Determine if the parallelism strategy enables parallel builds.
isVerboseCallSite :: Verbosity -> BoolCabal Distribution.Verbosity Test if we should output call sites when we log.