@@ -38,7 +38,7 @@ import Options.Applicative
38
38
import Paths_cabal2nix ( version )
39
39
import System.Environment ( getArgs )
40
40
import System.IO ( hFlush , stdout , stderr )
41
- import qualified Text.PrettyPrint.ANSI.Leijen as P2
41
+ import qualified Prettyprinter as P2
42
42
import Text.PrettyPrint.HughesPJClass ( Doc , Pretty (.. ), text , vcat , hcat , semi , render , prettyShow )
43
43
44
44
{-# ANN module ("HLint: ignore Use Just" :: String) #-}
@@ -148,16 +148,16 @@ pinfo = info
148
148
( fullDesc
149
149
<> header " cabal2nix converts Cabal files into build instructions for Nix."
150
150
<> progDescDoc (Just (P2. vcat
151
- [ P2. text " "
152
- , P2. text " Recognized URI schemes:"
153
- , P2. text " "
154
- , P2. text " cabal://pkgname-pkgversion download the specified package from Hackage"
155
- , P2. text " cabal://pkgname download latest version of this package from Hackage"
156
- , P2. text " file:///local/path load the Cabal file from the local disk"
157
- , P2. text " /local/path abbreviated version of file URI"
158
- , P2. text " <git/svn/bzr/hg URL> download the source from the specified repository"
159
- , P2. text " "
160
- , P2. fillSep (map P2. text (words ( " If the URI refers to a cabal file, information for building the package "
151
+ [ " "
152
+ , " Recognized URI schemes:"
153
+ , " "
154
+ , " cabal://pkgname-pkgversion download the specified package from Hackage"
155
+ , " cabal://pkgname download latest version of this package from Hackage"
156
+ , " file:///local/path load the Cabal file from the local disk"
157
+ , " /local/path abbreviated version of file URI"
158
+ , " <git/svn/bzr/hg URL> download the source from the specified repository"
159
+ , " "
160
+ , P2. fillSep (map P2. pretty (words ( " If the URI refers to a cabal file, information for building the package "
161
161
++ " will be retrieved from that file, but hackage will be used as a source "
162
162
++ " for the derivation. Otherwise, the supplied URI will be used to as the "
163
163
++ " source for the derivation and the information is taken from the cabal file "
0 commit comments