Skip to content

Commit

Permalink
Account for changes in Cabal commit 10687555d3c8524d5f5f373128ee80ccd…
Browse files Browse the repository at this point in the history
…56322bb.
  • Loading branch information
kindaro committed Sep 12, 2023
1 parent 4dc9ac0 commit 69643a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-prettify.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ common commons
, base
, base-unicode-symbols
, bytestring
, Cabal
, Cabal >= 3.8
, directory
, filepath
, generic-deriving
Expand Down
1 change: 1 addition & 0 deletions library/Distribution/Prettify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ show = (<> "\n") ∘ ByteString.intercalate "\n" ∘ fmap Utf8.fromString ∘ fi
renderedSectionName = (PrettyPrint.text Utf8.toString) sectionName
header = (PrettyPrint.render PrettyPrint.hsep) (renderedSectionName: arguments)
in header: (fmap indent recurse) fields
PrettyEmpty Block NoMargin NoMargin mempty

indent String String
indent "" = ""
Expand Down

0 comments on commit 69643a9

Please sign in to comment.