We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff7a61 commit ac1fc0fCopy full SHA for ac1fc0f
Cabal/Distribution/Simple/ShowBuildInfo.hs
@@ -82,7 +82,9 @@ mkBuildInfo
82
-> Json
83
mkBuildInfo pkg_descr lbi _flags targetsToBuild = info
84
where
85
- componentsToBuild = map (\target -> (componentLocalName $ targetCLBI target,targetCLBI target)) targetsToBuild
+ targetToNameAndLBI target =
86
+ (componentLocalName $ targetCLBI target, targetCLBI target)
87
+ componentsToBuild = map targetToNameAndLBI targetsToBuild
88
(.=) :: String -> Json -> (String, Json)
89
k .= v = (k, v)
90
0 commit comments