staversion-0.2.2.0: What version is the package X in stackage lts-Y.ZZ?

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Staversion.Internal.BuildPlan.StackYaml

Description

This is an internal module. End-users should not use it.

This module is meant to be exposed only to Staversion.Internal.BuildPlan and test modules.

Synopsis

Documentation

readResolver Source #

Arguments

:: FilePath

path to stack.yaml

-> IO (Either ErrorMsg Resolver) 

Read the resolver field in stack.yaml.

configLocation Source #

Arguments

:: Logger 
-> String

shell command for stack

-> IO (Either ErrorMsg FilePath) 

Get the path to stack.yaml that stack uses as the current config.