git.iko.soy/typeable/cabal2nix
on master help sign in
Don't export Distribution.NixOS.PrettyPrinting (yet).
847f662Peter Simons
src/Distribution/NixOS/PrettyPrinting.hs+2−2
@@ -6,6 +6,8 @@
6 Maintainer : nix-dev@cs.uu.nl
6 Maintainer : nix-dev@cs.uu.nl
7 Stability : provisional
7 Stability : provisional
8 Portability : portable
8 Portability : portable
9+
10+ Internal pretty-printing helpers for Nix expressions.
9-}
11-}
10
12
11module Distribution.NixOS.PrettyPrinting
13module Distribution.NixOS.PrettyPrinting
@@ -21,8 +23,6 @@ module Distribution.NixOS.PrettyPrinting
21
23
22import Text.PrettyPrint
24import Text.PrettyPrint
23
25
24−-- Pretty-printing helpers for Nix expressions.
25−
26attr :: String -> Doc -> Doc
26attr :: String -> Doc -> Doc
27attr n v = text n <+> equals <+> v <> semi
27attr n v = text n <+> equals <+> v <> semi
28
28