Commit 9c7a5efe authored by nominolo@gmail.com's avatar nominolo@gmail.com
Browse files

Add resolved package description to 'LocalBuildInfo'.

parent 5ba7525c
......@@ -295,6 +295,7 @@ configure (pkg_descr0, pbi) cfg
datadir=my_datadir,
datasubdir=my_datasubdir,
packageDeps=dep_pkgs,
localPkgDescr=pkg_descr,
withPrograms=newConfig,
withHappy=happy, withAlex=alex,
withHsc2hs=hsc2hs, withC2hs=c2hs,
......
......@@ -105,6 +105,9 @@ data LocalBuildInfo = LocalBuildInfo {
-- that must be satisfied in terms of version ranges. This
-- field fixes those dependencies to the specific versions
-- available on this machine for this compiler.
localPkgDescr :: PackageDescription,
-- ^ The resolved package description, that does not contain
-- any conditionals.
withPrograms :: ProgramConfiguration, -- location and args for all programs
userConf :: Bool, -- ^Was this package configured with --user?
withHappy :: Maybe FilePath, -- ^Might be the location of the Happy executable.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment