arch-hs-0.11.1.0: Distribute hackage packages to archlinux
Copyright(c) 2020-2021 berberman
LicenseMIT
Maintainerberberman <berberman@yandex.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.ArchHs.Core

Description

The core functions of arch-hs.

Synopsis

Documentation

getDependencies Source #

Get dependencies of a package recursively. All version constraints will be discarded, and only packages depended by executables, libraries, and test suits will be collected.

evalConditionTree :: (HasCallStack, Semigroup k, HasBuildInfo k, Members [KnownGHCVersion, FlagAssignmentsEnv, Trace] r) => GenericPackageDescription -> CondTree ConfVar [Dependency] k -> Sem r BuildInfo Source #

Simplify the condition tree from GenericPackageDescription with given flag assignments and archlinux system assumption.

Helper functions