stack-3.7.1: The Haskell Tool Stack
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

Stack.BuildInfo

Description

Extracted from Stack so that module does not use CPP or Template Haskell, and therefore doesn't need to be recompiled as often.

Synopsis

Documentation

versionString' :: String Source #

The output of stack --version.

hpackVersion :: String Source #

Hpack version we're compiled against

maybeGitHash :: Maybe String Source #

If 1 is enabled, the Git hash in the build directory, otherwise Nothing.