-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Convert stack.yaml files into Nix build instructions. -- -- Convert stack.yaml files into Nix build instructions. @package stack2nix @version 0.2.1 module Stack2nix.PP -- | Formats the derivation doc with indentation and lines wrapped at 100 -- chars. ppIndented :: Doc -> String -- | Formats the derivation doc without indentation and with each list -- element and function argument on its own line. We go to this effort to -- "ugly-print" so that the resulting file is less susceptible to merge -- conflicts when checked into git. ppSingletons :: Doc -> String module Stack2nix.Types data Args Args :: Maybe String -> Maybe FilePath -> FilePath -> Int -> Bool -> Bool -> Bool -> Maybe UTCTime -> Platform -> String -> Bool -> Bool -> Args [argRev] :: Args -> Maybe String [argOutFile] :: Args -> Maybe FilePath [argStackYaml] :: Args -> FilePath [argThreads] :: Args -> Int [argTest] :: Args -> Bool [argBench] :: Args -> Bool [argHaddock] :: Args -> Bool [argHackageSnapshot] :: Args -> Maybe UTCTime [argPlatform] :: Args -> Platform [argUri] :: Args -> String [argIndent] :: Args -> Bool [argVerbose] :: Args -> Bool instance GHC.Show.Show Stack2nix.Types.Args module Stack2nix.Render render :: [Either Doc Derivation] -> Args -> [String] -> String -> IO () module Stack2nix.Util assertMinVer :: String -> String -> IO () extractVersion :: String -> Maybe Version mapPool :: Traversable t => Int -> (a -> IO b) -> t a -> IO (t b) logDebug :: Args -> String -> IO () ensureExecutableExists :: String -> String -> IO () ensureExecutable :: String -> IO () module Stack2nix data Args Args :: Maybe String -> Maybe FilePath -> FilePath -> Int -> Bool -> Bool -> Bool -> Maybe UTCTime -> Platform -> String -> Bool -> Bool -> Args [argRev] :: Args -> Maybe String [argOutFile] :: Args -> Maybe FilePath [argStackYaml] :: Args -> FilePath [argThreads] :: Args -> Int [argTest] :: Args -> Bool [argBench] :: Args -> Bool [argHaddock] :: Args -> Bool [argHackageSnapshot] :: Args -> Maybe UTCTime [argPlatform] :: Args -> Platform [argUri] :: Args -> String [argIndent] :: Args -> Bool [argVerbose] :: Args -> Bool stack2nix :: Args -> IO () version :: Version