stackage-to-hackage-1.1.0: Convert stack.yaml to cabal.project + cabal.project.freeze

Safe HaskellNone
LanguageHaskell2010

StackageToHackage.Hackage

Description

A simplistic model of cabal multi-package files and convertors from Stackage.

Synopsis

Documentation

stackToCabal :: [PackageName] -> FilePath -> Stack -> IO (Project, Freeze) Source #

Converts a stack.yaml (and list of local packages) to cabal.project and cabal.project.freeze.

data Project Source #

Constructors

Project Ghc (NonEmpty FilePath) [Git] 
Instances
Show Project Source # 
Instance details

Defined in StackageToHackage.Hackage

data Freeze Source #

Instances
Show Freeze Source # 
Instance details

Defined in StackageToHackage.Hackage