Skip to content

Commit 68c848e

Browse files
committed
add stage information to JSON output in encodePlanAsJson
1 parent 35185a7 commit 68c848e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cabal-install/src/Distribution/Client/ProjectPlanOutput.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ encodePlanAsJson distDirLayout elaboratedInstallPlan elaboratedSharedConfig =
161161
then "installed"
162162
else "configured"
163163
)
164+
, "stage" J..= jdisplay (elabStage elab)
164165
, "id" J..= (jdisplay . Graph.nodeKey) elab
165166
, "pkg-name" J..= (jdisplay . pkgName . packageId) elab
166167
, "pkg-version" J..= (jdisplay . pkgVersion . packageId) elab

0 commit comments

Comments
 (0)