n!g      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst u v w x y z { | } ~         !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi j k l m n o p q r s t u v w x y z { | } ~                                                                    !!!!"""""""""""""#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $ $ $ $ $$$$$$$$$$$$$$$$$$$ $!$"$#$$$%$&$'$($)$*$+$,$-$.$/$0$1$2$3$4$5$6$7$8$9$:$;$<$=$>$?%@%A%B%C%D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W&X&Y&Z&['\']'^'_'`'a'b'c'd'e'f'g'h'i'j'k'l'm'n'o'p'q'r's(t(u(v(w(x(y(z({(|(}(~((((((())))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))***********++++++++++,,,,,,,,,,,,,,,,, , , , , ,,,,,,------------- -!-"-#-$-%-&-'-(-)-*-+-,---.-/-0-1-2-3-4-5-6-7-8-9-:-;-<-=->-?-@-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z-[-\-]-^-_-`-a-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z-{-|-}-~------------------------------------------------------------------------------------------------------------------------------------------- - - - - ------------------- -!-"-#-$-%-&-'-(-)-*-+-,---.-/-0-1-2-3-4-5-6-7-8-9-:-;-<-=->-?-@-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z-[-\-]-^-_-`-a-bcdefghijklmnopqrstuvwxyz{|}~..///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// / / / 0 0000000000000000000 0!0"0#0$0%0&0'0(0)0*0+0,0-0.0/000102030405060708090:0;0<0=0>0?0@0A0B0C0D0E0F0G0H0I0J0K0L0M0N0O0P0Q0R0S0T0U0V0W0X0Y0Z0[0\0]1^1_1`1a1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1q1r1s1t1u1v1w2x2y2z2{2|2}2~33333333333333333333333333444444555555555555555555555555555555555555555555555666666666667777777777777777788888999999999999999999::::::::::: ; ; ; ; <<<<<<=====>>>>>>>> ?!?"?#?$?%@&@'@(@)@*@+@,@-@.@/A0A1A2B3B4C5C6C7C8C9C:C;C<C=C>C?C@CACBCCCDCECFCGCHDIDJDKDLDMDNEOEPEQERESETEUEVEWEXEYEZE[F\F]F^F_F`FaFbFcFdFeFfFgFhFiFjFkFlFmFnFoFpFqFrFsFtFuFvFwGxGyGzG{G|G}G~GGHIIIIIIIIIIIJJJJJJKKLLLLLLLLLLLMMMMMNNNNNNNNNNNNNNNNNNOOOPPPPPPPPPPPPPPPQQQQQQRRRRRRRRSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTUUUUUUUUUUVV V V V V VVWWWWWWWWXXXXXXXXX Y!Y"Y#Y$Y%Y&Y'Y(Y)Y*Y+Z,Z-Z.Z/Z0Z1Z2Z3Z4Z5Z6Z7Z8Z9Z:Z;Z<Z=Z>Z?Z@ZAZBZCZDZEZFZGZH[I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z\[\\\]\^\_\`\a\b\c]d^e^f^_None13457>CILNg@Tags for each field of state in SGR (Select Graphics Rendition).It's a bit of a hack that h is included.Dghijklmnopq*+,-./0123456rs789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVtuWXYvwxyzP  !"#*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYP012/-.*+,65347;?CGKOS8<@DHLPT9=AEIMQU:>BFJNRVWXY#  " ! 6g hijklmnopq*+,-./0123456rs789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVtuWXYvwxyzNone{CMake sure that a filename with spaces in it gets the proper quotes.|}~Z[\]^_`a{ Z[\]^_`a Z[\]^_`a |}~Z[\]^_`a{NoneFbPrint an exception to stderr(Run an action, watching for file changesThe action provided takes a callback that is used to set the files to be watched. When any of those files are changed, we rerun the action again.bcdbcdcdbbcdSafe+IN eException running editor.hException running pager.kARun pager, providing a function that writes to the pager's input.l'Run pager to display a lazy ByteString.m*Run pager to display a ByteString-Builder.n(Run pager to display contents of a file.oRun pager to display a string.pRun editor to edit a file.qDRun editor, providing functions to write and read the file contents.rRun editor on a ByteString.sRun editor on a String.Short-circuit first Just.efghijklmnopqrsefghijklmnopqrsklmnohijpqrsefgefghijklmnopqrs Nonet=Log running a process with its arguments, for debugging (-v).u=Log running a process with its arguments, for debugging (-v).GThis logs one message before running the process and one message after.vrShow a process arg including speechmarks when necessary. Just for debugging purposes, not functionally important.tuvtuvtuvtuv Safe wxyz{|}wxyz{|}wxyz{}| wxyz{|} None(~9Find the location of a file matching the given predicate.>Find the location of a directory matching the given predicate.9Find the location of a path matching the given predicate.5Find files matching predicate below a root directory.qNOTE: this skips symbolic directory links, to avoid loops. This may not make sense for all uses of file finding.VTODO: write one of these that traverses symbolic links but efficiently ignores loops.findInParents f path applies f to path and its s until it finds a  or reaches the root directory.~ Start here.Predicate to match the file.#Do not ascend above this directory.Absolute file path. Start here.!Predicate to match the directory.#Do not ascend above this directory.Absolute directory path.Choose path type from pair. Start here.Predicate to match the path.#Do not ascend above this directory.Absolute path.Root directory to begin with.Predicate to match files.,Predicate for which directories to traverse.List of matching files.~~~ None 3Convert to FilePath but don't add a trailing slash.NCollapse intermediate "." and ".." directories from path, then parse it with 0. (probably should be moved to the Path module)NCollapse intermediate "." and ".." directories from path, then parse it with 0. (probably should be moved to the Path module);Collapse intermediate "." and ".." directories from a path. OcollapseFilePath "./foo" == "foo" collapseFilePath "/bar/../baz" == "/baz" collapseFilePath "/../baz" == "/../baz" collapseFilePath "parent/foo/baz/../bar" == "parent/foo/bar" collapseFilePath "parent/foo/baz/../../bar" == "parent/bar" collapseFilePath "parent/foo/.." == "parent" collapseFilePath "/parent/foo/../../bar" == "/bar"(borrowed from Text.Pandoc.Shared)Drop the root (either / on POSIX or C:\, D:\, etc. on Windows).If given file in  does not exist, ensure we have *. This is to be used in conjunction with  and .Previously the idiom  forgivingAbsence (relsoveFile &)" alone was used, which relied on  throwing isDoesNotExistErrorm when path does not exist. As it turns out, this behavior is actually not intentional and unreliable, see  .https://github.com/haskell/directory/issues/44. This was fixed  in version 1.2.3.0 of  directoryg package (now it never throws). To make it work with all versions, we need to use the following idiom: 6forgivingAbsence (resolveFile &) >>= rejectMissingFileSee .7Convert to a lazy ByteString using toFilePath and UTF8.2Convert to a ByteString using toFilePath and UTF8.  None +4>IN/An exception while trying to read from process.5Override the environment received by a child process.Environment variables as map)Environment variables as association list.List of directories searched for executables (PATH)[""] on non-Windows systems, ["", ".exe", ".bat"] on Windows&Get the environment variables from an .&Get the list of directories searched (PATH).'Modify the environment variables of an . Create a new .Helper conversion function.+Read from the process, ignoring any output. Throws a  exception if the process fails.Try to produce a strict  from the stdout of a process.Produce a strict  from the stdout of a process. Throws a  exception if the process fails./Consume the stdout of a process feeding strict s to a consumer. If the process fails, spits out stdout and stderr as error log level. Should not be used for long-running processes or ones with lots of output; for that use sinkProcessStdoutLogStderr. Throws a  if unsuccessful.:Consume the stdout and stderr of a process feeding strict s to the consumers. Throws a " if unsuccessful in launching, or $ if the process itself fails.TLike sinkProcessStderrStdout, but receives Handles for stderr and stdout instead of s. Throws a " if unsuccessful in launching, or $ if the process itself fails.cPerform pre-call-process tasks. Ensure the working directory exists and find the executable path. Throws a  if unsuccessful.7Check if the given executable exists on the given PATH.*Find the complete path for the executable. Throws a  if unsuccessful.Reset the executable cache. Load up an  from the standard environment.AAugment the PATH environment variable with the given extra paths.Apply $ on the PATH value in the given Map.&Optional working directoryCommandCommand line argumentsOptional directory to run inCommandCommand line argumentsOptional directory to run inCommandCommand line argumentsOptional directory to run inCommandCommand line argumentsSink for stdoutOptional directory to run inCommandCommand line argumentsSink for stderrSink for stdoutOptional directory to run inCommandCommand line arguments)Optional directory to create if necessaryHow to override environment Command nameHow to override environmentName of executableHow to override environmentName of executable'Full path to that executable on success!%!%None +4>IN@Cmd holds common infos needed to running a process in most casesdirectory to run incommand to runcommand line argumentsKRun the given command in the given directory, inheriting stdout and stderr.GIf it exits with anything but success, prints an error and then calls  to exit the program.Like P, but takes an optional working directory and environment override, and throws $, if the process exits unsuccessfully and a  if the executable is not found.Inherits stdout and stderr.Like P, but takes an optional working directory and environment override, and throws $, if the process exits unsuccessfully and a  if the executable is not found.Inherits stdout and stderr.Like _`, but taking a . Note that the s provided by  are not closed automatically.!optional additional error message!optional additional error message$$  Safe2Generate and execute a complicated options parser.(Add a command to the options dispatcher.@Add a command that takes sub-commands to the options dispatcher.(Add a command to the options dispatcher.&Generate a complicated options parser.Non-hidden help option. numeric versionversion string hpack numeric version, as stringheaderTprogram description (displayed between usage and options listing in the help output)footercommon settings%optional handler for parser failure;  is called by defaultcommands (use )command stringtitle of commandfooter of command help2constructor to wrap up command in common data type common parsercommand parsercommand stringtitle of commandfooter of command help common parsersub-commands (use )command stringtitle of commandfooter of command help2constructor to wrap up command in common data type common parsercommand parsercommon settingscommands (use )None Enable/disable flags for a .Enable/disable flags for a 1, without a default case (to allow chaining with ).Enable/disable flags for a ( ).Like , but parsing a ."Enable/disable flags for any type.MEnable/disable flags for any type, without a default (to allow chaining with ) Show an extra help option (e.g.  --docker-help shows help for all  --docker* args).'To actually have that help appear, use " before executing the main parser.<Display extra help if extra help option passed in arguments.GSince optparse-applicative doesn't allow an arbitrary IO action for an S, this was the best way I found that doesn't require manually formatting the help., specialized to ., specialized to .Like , but returning a .Like , but accepting any  e on the . Default value Flag name Help suffix Flag name Help suffix Flag name Help suffix Default value Enabled valueDisabled valueName Help suffix Enabled valueDisabled valueName Help suffix Hide from the brief description?Program name, e.g. "stack"Option glob expression, e.g.  "docker*"Help option name, e.g.  "docker-help"Command line argumentsExtra help option name, e.g.  "docker-help"&Option parser for the relevant commandOption descriptionNone!"*+7IMN2An exception regarding verification of a download./A request together with some checks to perform.7Default to retrying thrice with a short constant delay.LMake sure that the hash digest for a finite stream of bytes is as expected..Throws WrongDigest (VerifiedDownloadException)'A more explicitly type-guided sinkHash.CTurns a list of hash checks into a ZipSink that checks all of them.>Copied and extended version of Network.HTTP.Download.download.YHas the following additional features: * Verifies that response content-length header (if present) matches expected length * Limits the download to (close to) the expected # of bytes * Verifies that the expected # bytes were downloaded (not too few) * Verifies md5 if response includes content-md5 header * Verifies the expected hashespThrows VerifiedDownloadException. Throws IOExceptions related to file system operations. Throws HttpException." destinationcustom hook to observe progress Whether a download was performedSafe+Does the version range have an upper bound?*Does the version range have a lower bound?NoneN8None &+4NWrite to the given file.Read from the given file. If the read fails, run the given action and write that back to the file. Always starts the file off with the version tag.Safe!     Safe Applicative .    ! Monadic .    ! SafeSafeConcatenate two parsers.Alternative parsers.Pure something.#Concatting the result of an action.Safe#Mode for parsing escape characters.Parse arguments using .pA basic argument parser. It supports space-separated text, and string quotation with identity escaping: x -> x.Safe3An argument which accepts a list of arguments e.g. --ghc-options="-X P.hs "this"".1An option which accepts a list of arguments e.g. --ghc-options="-X P.hs "this"".?An option which accepts a command and a list of arguments e.g. --exec "echo hello world"Parse from a string.None0FWarning output from ."Monoid used by ' to track expected fields and warnings.:JSON parser that warns about unexpected fields in objects.Extends .: warning to include field name.Extends .:? warning to include field name. version of .:. version of .:?. version of .!=.ITell warning parser about an expected field, so it doesn't warn about it.  version of #.  Convert a  to a . Log JSON warnings.  Handle warnings in a sub-object. Handle warnings in a  Traversable of sub-objects.Handle warnings in a Maybe Traversable of sub-objects."$%&     '()*L+,-./0123456789:;#<=>?@ABCDEFGHIJKLMNOPQR          "$%&     '()*None+7Download the given URL to the given location. If the file already exists, no download is performed. Otherwise, creates the parent directory, downloads to a temporary file, and on file download completion moves to the appropriate destination.&Throws an exception if things go wrongSame as B, but will download a file a second time if it is already present.Returns S if the file was downloaded, T otherwise+Download a JSON value and parse it using a  instance.YA convenience method for asking for the environment and then running an action with its U. Useful for avoiding a MonadBaseControl constraint. destinationHWas a downloaded performed (True) or did the file already exist (False)? destinationV"&'()$&'()(VNone+035CF  A flag name. A parse fail.!Attoparsec parser for a flag nameMake a flag name.+Convenient way to parse a flag name from a .(Convenience function for parsing from a W/Produce a string representation of a flag name./Produce a string representation of a flag name. Convert from a Cabal flag name.!Convert to a Cabal flag name.X !YZ[\]^_`a  !  !X !YZ[\]^_`aNone+035CF "A package name.# A parse fail.'$Attoparsec parser for a package name(Make a package name.)Parse a package name from a .*Parse a package name from a W.+2Produce a string representation of a package name.,2Produce a string representation of a package name.-"Convert from a Cabal package name.. Convert to a Cabal package name./&Parse a package name from a file path.09An argument which accepts a template name of the format  foo.hsfiles."b#$%&'()*+,-./0cdefghij"#$%&'()*+,-./0"#$%&')*+,-./(0"b#$%&'()*+,-./0cdefghijSignature Types(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNone+351 Exceptionsk#Handy wrapper for orphan instances.9The GPG fingerprint.:A GPG signature.12345678klm9n:;<opqrstuvw 123456789:;< :;9<1234567812345678klm9n:;<opqrstuvw GPG Functions(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNoneFIN=)Sign a file path with GPG, returning the  Signature.> Verify the  Signature of a file path returning the  Fingerprint.xTry to execute gpg2 but fallback to x (as a backup)y`man gpg-agent` shows that you need GPG_TTY environment variable set to properly deal with interactions with gpg-agent. (Doesn't apply to Windows though)=>xy=>=>=>xyNone+035CFA package version.z A parse fail.G(Attoparsec parser for a package version.H1Convenient way to parse a package version from a .IMigration function.J1Get a string representation of a package version.K1Get a string representation of a package version.LConvert to a Cabal version.MConvert from a Cabal version.NMake a package version.ODisplay a version rangeP-Check if a version is within a version range.QBA modified intersection which also simplifies, for better display.R@Returns the first two components, defaulting to 0 if not presentSlGiven a version range and a set of versions, find the latest version from the set that is within the range.T7Get the next major version number for the given version&?@ABCDEF{|z}GHIJKLMNOPQRSTU~?@ABCDEFGHIJKLMNOPQRSTUFCDE?@ABGHIJKLMNOPQRSUT?@ABCDEF{|z}GHIJKLMNOPQRSTU~None+035V/Specifies a compiler and its version number(s).dNote that despite having this datatype, stack isn't in a hurry to support compilers other than GHC.UNOTE: updating this will change its binary serialization. The version number in the  BinarySchema instance for  MiniBuildPlan should be updated.YVariety of compiler to use.VWXYZ[\]^_`abcdefghVWXYZ[\]^_`abcYZ[VWXhgfed\]^_`abcVWXYZ[\]^_`abcdefgh None (+035Cn(Information on a single package for the x.tDue to ambiguity in Cabal, it is unclear whether this refers to the executable name, the package name, or something else. We have to guess based on what's available, which is why we store this is an unwrapped .u$Executables provided by this packagevIs there a library present?wAn optional SHA1 representation in hex format of the blob containing the cabal file contents. Useful for grabbing the correct cabal file revision directly from a Git repoxA simplified version of the  + cabal file.|=Most recent Nightly and newest LTS version per major release.-A simplified package description that tracks:Package dependenciesBuild tool dependenciesProvided executables&It has fully resolved all conditionalsmodules exported by the libraryName of an executable.5when the test suite will pull in things we don't want+Information on the contents of a cabal fileFile size in bytes#Various hashes of the file contents8The name of an LTS Haskell or Stackage Nightly snapshot. Convert a % into its short representation, e.g. lts-2.8, nightly-2015-03-05.$Parse the short representation of a .ijklmnopqrstuvwxyz{|}~Yijklmnopqrstuvwxyz{|}~Y|}~xyz{nopqrstuvwlmijk9ijklmn opqrstuvwxyz{|}~!None+0A ghc-pkg package identifier. A parse fail..Convenient way to parse a package name from a .)A parser for a package-version-hash pair..Get a string representation of GHC package id."None035   #None$None+035`"Exceptions thrown by Stack.Docker.*Docker must be enabled to use the command.4Command must be run on host OS (not in a container).docker inspect failed.Image does not exist. Input to docker cleanup has invalid command.Invalid output from  docker images.Invalid output from  docker ps.Invalid output from docker inspect.Could not pull a Docker image.Installed version of docker below minimum version.Installed version of docker is prohibited.Installed version of docker* is out of range specified in config file.Invalid output from docker --version. Version of stack) on host is too old for version in image. Version of stack3 in container/image is too old for version on host.?Can't determine the project root (where to put docker sandbox).docker --version failed.-Using host stack-exe on unsupported platform. stack-exe option fails to parse.)Newtype for non-orphan FromJSON instance.'Options for Docker repository or image.Docker volume mount.Where to get the stack' executable to run in Docker containersDownload from official bindistHost's stack (linux-x86_64 only)Docker image's stack (versions must match)Executable at given pathqAn uninterpreted representation of docker options. Configurations may be "cascaded" using mappend (left-biased).,Should Docker be defaulted to enabled (does docker: section exist in the config)?Is using Docker enabled?Docker repository name (e.g. fpco/stack-build or fpco/stack-full:lts-2.8)&Does registry require login for pulls?&Optional username for Docker registry.&Optional password for Docker registry.Automatically pull new images.#Whether to run a detached containerLCreate a persistent container (don't remove it when finished). Implied by .?Container name to use, only makes sense from command-line with  or .Arguments to pass directly to  docker run!Volumes to mount in the container-Environment variables to set in the container!Location of image usage database.1Location of container-compatible stack executable%Set in-container user to match host'sSee: Docker configuration. Is using Docker enabled? ;Exact Docker image tag or ID. Overrides docker-repo-*/tag. &Does registry require login for pulls? &Optional username for Docker registry.&Optional password for Docker registry.Automatically pull new images.#Whether to run a detached containerLCreate a persistent container (don't remove it when finished). Implied by .?Container name to use, only makes sense from command-line with  or .Arguments to pass directly to  docker run."Volumes to mount in the container..Environment variables to set in the container.!Location of image usage database.1Location of container-compatible stack executable%Set in-container user to match host's.Require a version of Docker within this range.Parse .Docker enable argument name.Docker repo arg argument name.Docker image argument name.$Docker registry login argument name.'Docker registry username argument name. 'Docker registry password argument name.!Docker auto-pull argument name."Docker detach argument name.#Docker run args argument name.$Docker mount argument name.%*Docker environment variable argument name.&$Docker container name argument name.'Docker persist argument name.(#Docker database path argument name.)#Docker database path argument name.* Value for --docker-stack-exe=download+ Value for --docker-stack-exe=host, Value for --docker-stack-exe=image-Docker set-user argument name.Docker require-version argument name/HArgument name used to pass docker entrypoint data (only used internally)0"Command-line argument for "docker"2Command-line argument for  docker pull.3Command-line argument for docker cleanup.4Command-line option for --internal-re-exec-version.5#Platform that Docker containers run8Parse VersionRange.9 For YAML.:Show instance.;For optparse-applicative.="Left-biased combine Docker options>3Decode uninterpreted docker options from JSON/YAML.k      !"#$%&'()*+,-./0123456789:;<=>b      !"#$%&'()*+,-./012345k     >=<;:9876 !"#$%&'()*+,-./012345,      !"#$%&'()*+,-./0123456789:;<=>%None035?nAn uninterpreted representation of nix options. Configurations may be "cascaded" using mappend (left-biased).A/Should nix-shell be defaulted to enabled (does nix: section exist in the config)?BIs using nix-shell enabled?CShould the nix-shell be pureD+System packages to use (given to nix-shell)EQThe path of a file containing preconfiguration of the environment (e.g shell.nix)F1Options to be given to the nix-shell command lineG$Override parts of NIX_PATH (notably nixpkgs)HMNix configuration. Parameterize by resolver type to avoid cyclic dependency.LEThe system packages to be installed in the environment before it runsMQThe path of a file containing preconfiguration of the environment (e.g shell.nix)N1Options to be given to the nix-shell command lineONix enable argument name.P$Nix run in pure shell argument name.Q*Nix packages (build inputs) argument name.R"shell.nix file path argument name.S6Extra options for the nix-shell command argument name.TNIX_PATH override argument nameULeft-biased combine Nix optionsV0Decode uninterpreted nix options from JSON/YAML.?@ABCDEFGHIJKLMNOPQRSTUV?@ABCDEFGHIJKLMNOPQRSTHIJKLMN?@ABCDEFGVUOPQRST ?@ABCDEFGHIJKLMNOPQRSTUV&None+X=Nix can't be given packages and a shell file at the same timeY!Interprets NixOptsMonoid options.WXYZWXYZYZWXWXYZ'None035N`nMaybe have a docker base image name. (Although we will not be able to create any Docker images without this.)aJMaybe have a specific ENTRYPOINT list that will be used to create images.b]Maybe have some static project content to include in a specific directory in all the images.c/Maybe have a name for the image we are creatingd:Filenames of executables to add (if Nothing, add them all)e3Image options. Currently only Docker image options.g.One or more stanzas for docker image settings.[\]^_`abcdefghijklmnopqr[\]^_`abcdefghijklmnoefg^_`abcd[\]rqphijklmno[\]^_`abcdefghijklmnopqr(None C x"an absolute path on the filesystemyJa relative path on the filesystem, or relative to the template repositoryz a full URL{A template name.}9An argument which accepts a template name of the format  foo.hsfiles or foo, ultimately normalized to foo.~An argument which accepts a  key:value pair for specifying parameters.$Parse a template name from a string.Make a template name./Get a text representation of the template name.Get the path of the template.stuvwxyz{|}~stuvwxyz{|}~{|wxyzstuv}~ stuvwxyz{|}~)None035Options for the  FinalAction  DoBenchmarks)Arguments passed to the benchmark programDisable running of benchmarksHaddock Options#Arguments passed to haddock programOptions for the  FinalAction DoTests)Whether successful tests will be run gain$Arguments passed to the test programGenerate a code coverage reportDisable running of tests!Which subset of packages to buildcOnly install packages in the snapshot database, skipping packages intended for the local database.EBuild options that may be specified in the stack.yaml or from the CLI+Command sum type for conditional arguments.5Build options that may only be specified from the CLIqBuild options that is interpreted by the build command. This is built up from BuildOptsCLI and BuildOptsMonoidBuild haddocks?Options to pass to haddockOpen haddocks in the browser? Build haddocks for dependencies?0Install executables to user path after building?SFetch all packages immediately ^ Watch files for changes and automatically rebuild#Keep building/running after failure7Force treating all local packages as having dirty filesTurn on tests for local targetsAdditional test arguments$Turn on benchmarks for local targetsAdditional test arguments ^ Commands (with arguments) to run after a successful build ^ Only perform the configure step when building5Perform the configure step even if already configured%Ask Cabal to be verbose in its buildsWhether to enable split-objs.~^^1 *None+0 A pkg-ver combination.$Get the name part of the identifier.'Get the version part of the identifier. A parse fail.-Convert from a package identifier to a tuple.-Convert from a tuple to a package identifier.$A parser for a package-version pair.4Convenient way to parse a package identifier from a .(Convenience function for parsing from a W.@Get a string representation of the package identifier; name-ver.>Get a Text representation of the package identifier; name-ver.  +None+0CMCached information on whether a package has profiling libraries and haddocks.LCached information on whether package have profiling libraries and haddocks.   ,None(+035C%Information on a single package index#URL prefix for downloading packagesXGPG-verify the package index during download. Only applies to Git repositories for now.XRequire that hashes and package size information be available for packages in this index[Location of the package index. This ensures that at least one of Git or HTTP is available.Unique name for a package indexGoffset in bytes into the 00-index.tar file for the .cabal file contents size in bytes of the .cabal file#                    -None!"(*+0135>CFLNV Docker host user info"uid#gid$Supplemantal groups%File creation mask }&AData passed into Docker container for the Docker entrypoint's use(UIDGIDCetc of host user, if we wish to perform UID/GID switch in container).How PVP bounds should be added to .cabal files.Remote or inline 1=#Information for a file to download.?URL or absolute file pathB@Build of the compiler distribution (e.g. standard, gmp4, tinfo6)E;Specialized bariant of GHC (e.g. libgmp4 or integer-simple)FStandard bindistG Bindist that uses integer-simpleHOther bindistsIHA variant of the platform, used to differentiate Docker builds from hostLA software control system.b $STACK_ROOT , parent dirfSee: gSee: .hbuild options.iDocker options.j>Options for the execution environment (nix-shell or container)kSee: lSee: mDeprecated in favour of nSee: 'configUrlsoSee: pSee: qSee: rSee: sSee: tSee: uSee: v Used for overriding the platformw#Used for overriding the GHC variantxSee: ySee: zSee:  {'Allow users to override the path to gcc|See: !},Used to override the binary installation dir~Image creation options.Template parameters.8Initialize SCM (e.g. git init) when making new projects?See %-Additional paths to search for executables inDAdditional setup info (inline or remote) to use for installing toolsSee 'See (See )See See +See _The default template to use when none is specified. (If Nothing, the default default is used.)KAllow users other than the stack root owner to use the stack installation.0Class for environment values that can provide a .0Class for environment values that can provide a .4Class for environment values which have a GHCVariant2Class for environment values which have a Platform@Class for environment values which have access to the stack rootEHow we resolve which dependencies to install given a set of packages.A project is a collection of packages. We can have multiple stack.yaml files, but only one of them may contain project information.YA warning message to display to the user when the auto generated config may have issues.Components of the package listJComponents of the package list referring to package/version combos, see: 'https://github.com/fpco/stack/issues/41Per-package flag overrides(How we resolve which dependencies to use/When specified, overrides which compiler to useCommitCommitNote that we use FilePath and not Path9s. The goal is: first parse the value raw, and then use canonicalizePath and  parseAbsDir.URL and further details3Should a package be treated just like an extra-dep?Si means, it will only be built as a dependency for others, and its test suite/benchmarks will not be run.,Useful modifying an upstream package, see:  5https://github.com/commercialhaskell/stack/issues/219 5https://github.com/commercialhaskell/stack/issues/386Value returned by La.Top-level Stack configuration.Action to load the remaining .,The project root directory, if in a project.3Configuration after the environment has been setup.aThis is the version of Cabal that stack will use to compile Setup.hs files in the build process.Note that this is not necessarily the same version as the one that stack depends on as a library and which is displayed when running $stack list-dependencies | grep Cabal in the stack project.A superset of  adding information on how to build code. The reason for this breakdown is because we will need some of the information from ' in order to determine the values here.FHow we resolve which dependencies to install given a set of packages.&Compiler version wanted for this buildLocal packages.Extra dependencies specified in configuration.tThese dependencies will not be installed to a shared location, and will override packages provided by the resolver.Extra package databases Location of the stack.yaml file.YNote: if the STACK_YAML environment variable is used, this may be different from bcRoot  / "stack.yaml"Per-package flag overrideshAre we loading from the implicit global stack.yaml? This is useful for providing better error messages.0The variant of GHC used to select a GHC bindist.[Either an actual resolver value, or an abstract description of one (e.g., latest nightly).*Parsed global command-line options monoid.%Expected re-exec in container versionIData used when stack is acting as a Docker entrypoint (internal use only) Log level Config monoid, for passing into  loadConfigResolver overrideCompiler overrideWe're in a terminal?Override project stack.yaml#Parsed global command-line options.%Expected re-exec in container versionIData used when stack is acting as a Docker entrypoint (internal use only) Log level Config monoid, for passing into  loadConfigResolver overrideCompiler overrideWe're in a terminal?Override project stack.yaml1Controls which version of the environment is used:include local project bin directory, GHC_PACKAGE_PATH, etc%include the GHC_PACKAGE_PATH variable9set the STACK_EXE variable to the current executable nameset the locale to C.UTF-8;Which packages do ghc-options on the command line apply to?all local targets$all local packages, even non-targets every package%The top-level Stackage configuration.~/.stack more often than not-this allows to override .stack-work directory*Path to user configuration file (usually ~.stack config.yaml) Build configuration Docker configuration 3Execution environment (e.g nix-shell) configuration 4Environment variables to be passed to external tools 9Non-platform-specific path containing local installations0Path containing local installations (mainly GHC)<How many concurrent connections are allowed when downloadingJHide the Template Haskell "Loading package ..." messages from the console=The platform we're building for, used in many directory names5Variant of the platform, also used in directory names>The variant of GHC requested by the user. In most cases, use  or  MiniConfig=s version instead, which will have an auto-detected default.URLs for other files used by stack. TODO: Better document e.g. The latest snapshot file. A build plan name (e.g. lts5.9.yaml) is appended when downloading the build plan actually.Information on package indices. This is left biased, meaning that packages in an earlier index will shadow those in a later index.YWarning: if you override packages in an index vs what's available upstream, you may correct your compiled snapshots, as different projects may have different definitions of what pkg-ver means! This feature is primarily intended for adding local packages, not overriding. Overriding is better accomplished by adding to your list of packages.TNote that indices specified in a later config file will override previous indices, not extend them.>Using an assoc list instead of a Map to keep track of prioritynShould we use the system-installed GHC (on the PATH) if available? Can be overridden by command line options.}Should we automatically install GHC if missing or the wrong version is available? Can be overridden by command line options.6Don't bother checking the GHC version or architecture.&On Windows: don't use a sandboxed MSYS8Specifies which versions of the compiler are acceptable.,Directory we should install executables into-Require a version of stack within this range.CHow many concurrent jobs to run, defaults to number of capabilitiesOptional gcc override path-extra-include-dirs arguments -extra-lib-dirs arguments!Run test suites concurrently#Parameters for templates.$5Initialize SCM (e.g. git) when creating new projects.%_Additional GHC options to apply to either all packages (Nothing) or a specific package (Just).&=Additional SetupInfo (inline or remote) to use to find tools.'0How PVP upper bounds should be added to packages('Force the code page to UTF-8 on Windows)See `.  provides the default value.*Rebuild on GHC options changes+;Which packages to ghc-options on the command line apply to?,KIgnore version ranges in .cabal files. Funny naming chosen to match cabal.-_The default template to use when none is specified. (If Nothing, the default default is used.).KAllow users other than the stack root owner to use the stack installation./!In memory cache of hackage index.1?Default logging level should be something useful but not crazy.22Directory containing the project's stack.yaml file3 "2 /.stack-work"5Convert a Resolver into its Text4 representation, as will be used by directory names6Convert a Resolver into its Text( representation for human presentation.8Try to parse a Resolver from a Text1. Won't work for complex resolvers (like custom).Parse a partial configuration. Used both to parse both a standalone config file and a project file, so that a sub-parser is not required, which would interfere with warnings for missing fields.::Helper function to ask the environment and apply getConfig;>Get the URL to request the information on the latest snapshots<!Root for a specific package index=9Git repo directory for a specific package index, returns  if not a Git repo>#Location of the 00-index.cache file?!Location of the 00-index.tar file@$Location of the 00-index.tar.gz fileALocation of a package tarballB  ".stack-work"CPer-project work dirD)File containing the installed cache, see Stack.PackageDumpE.Relative directory for the platform identifierFDirectory containing snapshotsG"Installation root for dependenciesHInstallation root for localsIHoogle directory.JGet the hoogle database path.GPath for platform followed by snapshot name followed by compiler name.K6Relative directory for the platform and GHC identifierPRelative directory for the platform and GHC identifier without GHC bindist buildnRelative directory for the platform and GHC identifier without GHC bindist build (before parsing into a Path)LThis is an attempt to shorten stack paths on Windows to decrease our chances of hitting 260 symbol path limit. The idea is to calculate SHA1 hash of the path used on other architectures, encode with base 16 and take first 8 symbols of it.M1Package database for installing dependencies intoN3Package database for installing local packages intoOExtra package databasesP,Directory for holding flag cache informationQ%Where to store mini build plan cachesR9Suffix applied to an installation root to get the bin dirS9Suffix applied to an installation root to get the doc dirT+Where HPC reports and tix files get stored.UCGet the extra bin directories (for the PATH). Puts more local first3Bool indicates whether or not to include the localsVaGet the minimal environment override, useful for just calling external processes like git or ghcY@Get the path for the given compiler ignoring any local binaries. 6https://github.com/commercialhaskell/stack/issues/1052;A PackageEntry for the current directory, used as a default-Render a platform variant to a String suffix.Z!Render a GHC variant to a String.[(Render a GHC variant to a String suffix.\ Parse GHC variant from a String.]#Descriptive name for compiler build^GSuffix to use for filenames/directories constructed with compiler build"Parse JSON in existing object for =`OProvide an explicit list of package dependencies when running a custom Setup.hsFor siGHCs and siGHCJSsI fields maps are deeply merged. For all fields the values from the last  SetupInfo win. !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789                           !:;<=>?@ABCDEFGHIJKL "MNOPQRSTUVWXYZ[\]^ #_`a $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a^IJK      !"#$%&'()*+,-./0:;`V234EFGHZ[\FBCD]^XYTUVWXYZ[\]^_`abcPQRSdefghijklmnopqrstuvwxyz{|}~W1?>@<=ANO)*+,-_85679LMaRDQCSPUTGHIJMONEKLB=>?@A9:;<12345678./0&'( !"#$% !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd'efghijklmnopqrstuvwxyz{|}~   ,      !"#$%&'()*+,-./0123456789                           !:;<=>?@ABCDEFGHIJKL "MNOPQRSTUVWXYZ[\]^ #_`a $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O PNone! Name of the stack program.b5Extensions for anything that can be a Haskell module. Q@Extensions used for Haskell modules. Excludes preprocessor ones. REExtensions for modules that are preprocessed by common preprocessors.cOutput .o/.hi directory.d6The filename used for dirtiness check of source files.e3The filename used to mark tests as having succeededf/The filename used to mark tests as having builtg0The filename used for dirtiness check of config.h2The filename used for modification check of .cabaliDirectory for HPC work.j,Relative location of directory for HPC work.k$Package's build artifacts directory.lPackage's working directory.m Directory for project templates.n%Relative location of build artifacts.o!Docker sandbox from project root.p$Image staging dir from project root.q Name of the stack program, uppercasedr,The filename used for the stack config file.s*Environment variable used to override the  '~/.stack' location.t&Option name for the global stack root.u1Deprecated option name for the global stack root.Deprecated since stack-1.1.0.1TODO: Remove occurences of this variable and use t/ only after an appropriate deprecation period.vDEnvironment variable used to indicate stack is running in container.y+Just to avoid repetition and magic strings.zLDeprecated implicit global project directory used when outside of a project.{MImplicit global project directory used when outside of a project. Normally, getImplicitGlobalProjectDir should be used instead.|&Deprecated default global config path.}'Default global config path. Normally, getDefaultUserConfigPath should be used instead.~?Deprecated default global config path. Note that this will be Nothing on Windows, which is by design.'Default global config path. Normally, getDefaultGlobalConfigPath1 should be used instead. Note that this will be Nothing on Windows, which is by design."Path where build plans are stored.Environment variable that stores a variant to append to platform-specific directory names. Used to ensure incompatible binaries aren't shared between Docker builds and host#b Q RcdPackage directory.ePackage directoryfPackage directorygPackage directory.hPackage directory.iPackage directory.jklmno Project rootDocker sandboxp Project rootIndex of imageDocker sandboxqrstuvwxyz Stack root.{ Stack root.|}~ Stack root!bcdefghijklmnopqrstuvwxyz{|}~!klnbporstuvghdefqwxyz{jicm|}~#b Q Rcdefghijklmnopqrstuvwxyz{|}~.NoneParser to extract the stack command line embedded inside a comment after validating the placement and formatting rules for a valid interpreter specification.xExtract stack arguments from a correctly placed and correctly formatted comment when it is being used as an interpreter/None(+0CIN?LA path resolved from the .cabal file, which is either main-is or an exposedinternalreferenced module.@A descriptor from a .cabal file indicating one of the following:=exposed-modules: Foo other-modules: Foo or main-is: Foo.hs Used for storage and comparison.>A location to install a package into, either snapshot or local/A single, fully resolved component of a package9Information on a locally available package of source codeThe PackageV info itself, after resolution with package flags, with tests and benchmarks disabled9Components to build, not including the library component.OComponents explicitly requested for build, that are marked "buildable: false".+Whether this package is wanted as a target.DUsed for determining if we can use --enable-tests in a normal build.JUsed for determining if we can use --enable-benchmarks in a normal build.This stores the H with tests and benchmarks enabled, if either is asked for by the user.Directory of the package.The .cabal fileNothing == not dirty, Just == dirty. Note that the Set may be empty if we forced the build to treat packages as dirty. Also, the Set may not include all modified files.current state of the filesall files used by this package\Datatype which tells how which version of a package to install and where to install it intoGWhere the package's source is located: local directory or package indexZUpstream packages could be installed in either local or snapshot databases; this is what  specifies.Package build configurationAre tests enabled?Are benchmarks enabled?Configured flags.Configured ghc options. GHC version host platform(Warning generated when reading a package/Modules found that are not listed in cabal file@Modules not found in file system, which are listed in cabal filenFiles that the package depends on, relative to package directory. Argument is the location of the .cabal file!Files to get for a cabal package.7GHC options based on cabal information and ghc-options.These options can safely have nubOrd< applied to them, as there are no multi-word options (see 7https://github.com/commercialhaskell/stack/issues/1255)nFiles that the package depends on, relative to package directory. Argument is the location of the .cabal fileSome package info.Name of the package.Version of the packageGet all files of the package.%Packages that the package depends on.A build tool name.#Original dependencies (not sieved).Ghc options used on package.Flags used on package.Defaults for unspecified flags.1does the package have a buildable library stanza?#names and interfaces of test suitesnames of benchmarksnames of executablesArgs to pass to GHC.&Does the package have exposed modules?&Does the package of build-type: Simple%All exceptions thrown by the library.5Maybe get the module name from the .cabal descriptor.3Maybe get the main name from the .cabal descriptor.Get the module path.Get the main path.Get the c file path. Get the path.Get the installed Version.Compares the package name.Compares the package name.   }   6   0None  (+035C  iInformation on a compiled package: the library conf file (if relevant), and all of the executable paths.&.conf file inside the package databaseFull paths to executables2Configure options to be sent to Setup.hs configureOptions related to various paths. We separate these out since they do not have an impact on the contents of the compiled binary for checking if we can use an existing precompiled cache.BBasic information used to calculate what the configure options are:A complete plan of what needs to be built and how to do it 0Final actions to be taken (test, benchmark, etc)!4Text is reason we're unregistering, for display only">Executables that should be installed after successful building#^The type of a task, either building local code or something from the package index (upstream)&DGiven the IDs of any missing packages, produce the configure options(4Dependencies for which we don't yet have an GhcPkgId).Produce the list of options given the missing GhcPkgIds*A task to perform when building,the package/version to be built-+the task type, telling us how to build this/+GhcPkgIds of already-installed dependencies03indicates that the package can be built in one step16Stored on disk to know whether the flags have changed.3"All options used for this package.4The GhcPkgIds of all of the dependencies. Since Cabal doesn't take the complete GhcPkgId (only a PackageIdentifier) in the configure options, just using the previous value is insufficient to know if dependencies have changed.5The components to be built. It's a bit of a hack to include this in here, as it's not a configure option (just a build option), but this is a convenient way to force compilation when the components change.6Are haddocks to be built?76Stored on disk to know whether the files have changed.9Modification times of files. SPackage dependency oracle.CPath to the stack.yaml fileX Render a BaseConfigOpts to an actual list of options TSame as X-, but does not include directory path optionsZ,Get set of wanted package names from locals.[&One-way conversion to serialized time.d   !"#$%&'()*+,-./0123456789 S U:;<=>?@ABCDEFGHIJKLMNOPQRST VUVWX dependencieslocal non-extra-dep?Y W T dependenciesis this a local, non-extra-dep?Z[\ X Y Z [ \ ] ^ _ ` a b c d e   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\ABCDEFGHIJKLMNOPQRST>?@:;<=[*+,-./0W !"#$%&'()789U123456VXYZ  \&   !"#$%&'()*+,-./0123456789 S U:;<=>?@ABCDEFGHIJKLMNOPQRST VUVWXY W TZ[\ X Y Z [ \ ] ^ _ ` a b c d e1None  !"(*>F]/Need targets, e.g. `stack build` or allow none?e9A view of a local package needed for resolving componentslqRaw command line input, without checking against any databases or list of locals. Does not deal with directoriesqnEither a fully resolved component, or a component name that could be either an executable, test, or benchmarktRThe name of a component, which applies to executables, test suites, and benchmarksuIf this function returns Nothing., the input should be treated as a directory. fSame as parseRawTarget*, but also takes directories into account.%]^_`abcdefghijk g h ilmnopqrs j k ltu fcurrent directory msnapshot extra deps nsnapshot extra deps o pvneed at least one targetusing implicit global project?snapshot extra depscurrent directorycommand line targets]^_`abcdefghijklmnopqrstuvtqrslmnopefghijk`abcd]^_uv]^_`abcdefghijk g h ilmnopqrs j k ltu f m n o pv2None+4F wGet the global package database qRun the ghc-pkg executablexFCreate a package database in the given directory, if it doesn't exist.y>Get the name to use for "ghc-pkg", given the compiler version. rIGet the necessary ghc-pkg flags for setting up the given package databasez(Get the value of a field of the package. sGet the version of the package|:Get the version of Cabal from the global package database.}"Get the value for GHC_PACKAGE_PATH w qxy rzpackage databasespackage identifier, or GhcPkgId spackage databases{package database|} wxyz{|} wzx{|y} w qxy rz s{|}3None +04CFIN~2A single line of input, not including line endings%Dump information for a single packageACall ghc-pkg dump with appropriate flags and stream to the given Sink, for a single databaseECall ghc-pkg describe with appropriate flags and stream to the given Sink, for a single database t%Call ghc-pkg and stream to the given Sink, for a single databaseCreate a new, empty InstalledCacheLoad a InstalledCache@ from disk, swallowing any errors and returning an empty cache.Save a InstalledCache to diskKPrune a list of possible packages down to those whose dependencies are met.id uniquely identifies an item$There can be multiple items per name}Find the package IDs matching the given constraints with all dependencies installed. Packages not mentioned in the provided Map are allowed to be present too.+Add profiling information to the stream of  DumpPackages)Add haddock information to the stream of  DumpPackages+Convert a stream of bytes into a stream of  DumpPackagesVApply the given Sink to each section of output, broken by a single line containing ---Grab each key/value pair uGeneral purpose utility$~ v w xif empty, use globalif empty, use global tif empty, use globalextract the name from an idthe id of an itemget the dependencies of an item(choose the desired of two possible items input itemsrequire profiling?require haddock?allowed versions yentry in directoryname of library z { u | }~~~ v w x  t y z { u | }4None &47N 2Determine whether we should haddock for a package.5Determine whether to build haddocks for dependencies.7Generate Haddock index and contents for local packages.NGenerate Haddock index and contents for local packages and their dependencies.>Generate Haddock index and contents for all snapshot packages. ~;Generate Haddock index and contents for specified packages. ,Find first DumpPackage matching the GhcPkgId Path of haddock index file. /Path of local packages documentation directory. FPath of documentation directory for the dependencies of local packages 2Path of snapshot packages documentation directory. >Available packages and their locations for the current projectBuild targets as determined by GbPackages that we want to generate haddocks for in any case (whether or not we are going to generate haddocks for dependencies)Local package dumpGlobal dump informationSnapshot dump informationLocal dump informationGlobal package dumpSnapshot package dump ~    ~  5NoneINMonadic environment.- - 6None345 3  !"#*+,-./012333012/-.*+,#  " !  7None &(047FN =Directory containing files to mark an executable as installed$Get all of the installed executables&Mark the given executable as installed*Mark the given executable as not installed@Try to read the dirtiness cache for the given package directory.@Try to read the dirtiness cache for the given package directory.>Try to read the mod time of the cabal file from the last build3Write the dirtiness cache for this package's files.;Write the dirtiness cache for this package's configuration.See "Delete the caches for the project.7Loads the flag cache for the given installed extra-deps%Mark a test suite as having succeeded)Mark a test suite as not having succeeded&Check if the test suite already passed The file containing information on the given package/configuration combination. The filename contains a hash of the non-directory configure options for quick lookup if there's a match.jIt also returns an action yielding the location of the precompiled path based on the old binary encoding.We only pay attention to non-directory options. We don't want to avoid a cache hit just because it was installed in a different directory.1Write out information about a newly built packageLCheck the cache for a precompiled package matching the given configuration. vEnsure that there are no lurking exceptions deep inside the parsed value... because that happens unfortunately. See 5https://github.com/commercialhaskell/stack/issues/554    dependencies dependencieslibrary executablestarget package dependencies 789789    8None&47 Options for .Require profiling libraries?Require haddocks?HReturns the new InstalledMap and all of the locally registered packages. ]Outputs both the modified InstalledMap and the Set of all installed packages in this databaseThe goal is to ascertain that the dependencies for a package are present, that it has profiling if necessary, and that it matches the version and location needed by the SourceMap Check if a can be included in the set of installed packages or not, based on the package selections made by the user. This does not perform any dirtiness or flag change checks.  *does not contain any installed information )if Just, profiling or haddock is required5to determine which installed things we should include$package database, Nothing for globalfrom parent databases       9None (+345FINU0-Read the raw, unresolved package information.?Read the raw, unresolved package information from a ByteString.)Reads and exposes the package information<Reads and exposes the package information, from a ByteStringGet   and  $ reading info from given directory.Read  package .buildinfo ancillary files produced by some Setup.hs hooks. The file includes Cabal file syntax to be merged into the package description derived from the package's .cabal file.DNOTE: not to be confused with BuildInfo, an Stack-internal datatype.Print cabal file warnings.Check if the given name in the Package$ matches the name of the .cabal file#Resolve a parsed cabal file into a . Generate GHC options for the package's components, and a list of options which apply generally to the package, not one specific component. $Generate GHC options for the target. @Make the .o path from the .c file path for a component. Example: 7executable FOO c-sources: cbits/text_search.c Produces dist-dirbuildFOOFOO-tmpcbits/text_search.oExample:,> makeObjectFilePathFromC $(mkAbsDir "UserschrisRepos$hoogle") CLib $(mkAbsDir "UserschrisReposhoogle .stack-work%Cabal-x.x.x/dist") $(mkAbsFile "UserschrisReposhooglecbitstext_search.c") Just "UserschrisReposhoogle .stack-work Cabal-x.x.xdistbuildcbits<text_search.o" > makeObjectFilePathFromC $(mkAbsDir "UserschrisRepos/hoogle") (CExe "hoogle") $(mkAbsDir "UserschrisReposhoogle .stack-work%Cabal-x.x.x/dist") $(mkAbsFile "UserschrisReposhooglecbitstext_search.c") Just "UserschrisReposhoogle .stack-work Cabal-x.x.xdistbuildhoogle hoogle-tmpcbitstext_search.o" > KThe directory where generated files are put like .o or .hs (from .x files).Make the autogen dir. Make the build dir. @Make the component-specific subdirectory of the build directory.=Get all dependencies of the package (buildable targets only).HGet all build tool dependencies of the package (buildable targets only). =Get all dependencies of the package (buildable targets only). "This is a copy-paste from Cabal's  allBuildInfo function, but with the  buildableD test removed. The reason is that (surprise) Cabal is broken, see: ,https://github.com/haskell/cabal/issues/1725 (Get all files referenced by the package. >Resolve globbing of files (e.g. data files) to absolute paths. <This is a copy/paste of the Cabal library function, but with  ext == ext' Changed to isSuffixOf ext ext'So that this will work: > matchDirFileGlob_ "." "test package-dump *.txt" ["test package-dumpghc-7.8.txt","test package-dumpghc-7.10.txt"] *Get all files referenced by the benchmark. %Get all files referenced by the test. +Get all files referenced by the executable. (Get all files referenced by the library. 4Get all C sources and extra source files in a build. Get the target's JS sources.VGet all dependencies of a package, including library, executables, tests, benchmarks. .Make a map from a list of flag specifications.What is  flagManual for?  Generic a ResolveConditions using sensible defaults. +Resolve the condition tree for the library. Get the name of a dependency. &Get the version range of a dependency. Try to resolve the list of base names in the given directory by looking for unique instances of base names applied with the given extensions, plus find any of their module and TemplateHaskell dependencies. .Get the dependencies of a Haskell module file. 6Parse a .dump-hi file into a set of modules and files. Try to resolve the list of base names in the given directory by looking for unique instances of base names applied with the given extensions. eFind a candidate for the given module-or-filename from the list of directories and given extensions. pWarn the user that multiple candidates are available for an entry, but that we picked one anyway and continued. gLog that we couldn't find a candidate, but there are possibilities for custom preprocessor extensions.IFor example: .erb for a Ruby file might exist in one of the directories.;Get the filename for the cabal file in the given directory.WIf no .cabal file is present, or more than one is present, an exception is thrown via  .fIf the directory contains a file named package.yaml, hpack is used to generate a .cabal file from it.5Generate .cabal file from package.yaml, if necessary.!Path for the package's build log. UResolve the file, if it can't be resolved, warn for the user (purely to be helpful). ZResolve the directory, if it can't be resolved, warn for the user (purely to be helpful). Extract the PackageIdentifier) given an exploded haskell package path.F  :Packages to omit from the "-package" / "-package-id" flags'Packages to add to the "-package" flags The cabal directory.The name of the component.Dist directory.The path to the .c file.*The path to the .o file for the component.    Compiler versioninstallation target platform enabled flags Package component nameDirectories to look in. Base names. Extensions. Directories to look in. Base names. Extensions. package directory 774       :None*3457>CL-The monad used for logging in the executable stack' before anything has been initialized. Monadic environment for ."The monad used for the executable stack.)Run a Stack action, using global options.Run a Stack action. 9Taken from GHC: determine if we should use Unicode syntax,Run the logging monad, using global options.Run the logging monad.Convenience for getting a U 7Replace Unicode characters with non-Unicode equivalents 2Logging function takes the log level into account. The length of a timestamp in the format "YYYY-MM-DD hh:mm:ss.". This definition is top-level in order to avoid multiple reevaluation at runtime. "With a sticky state, do the thing.RWrite a "sticky" line to the terminal. Any subsequent lines will overwrite this one, and that same line will be repeated below again. In other words, the line sticks at the bottom of the output forever. Running this function again will replace the sticky line with a new sticky line. When you want to get rid of the sticky line, run .yThis will print out the given message with a newline and disable any further stickiness of the line until a new call to  happens.+It might be better at some point to have a  runStickyA function that encompasses the logSticky->logStickyDone pairing. ,Takes the configured log level into account. ,Takes the configured log level into account.-      !      ;None #Interprets BuildOptsMonoid options.                <None+ )Exceptions thrown by Stack.Docker.Config.7Only LTS resolvers are supported for default image tag.Invalid global database path.$Interprets DockerOptsMonoid options.-Show instance for StackDockerConfigException.2Exception instance for StackDockerConfigException.    =None&+4 Stack image exceptions. ?Unspecified parent docker container makes building impossible @Can't determine the project root (where to put image sandbox).JStages the executables & additional content in a staging directory under  '.stack-work'4Builds a Docker (OpenContainer) image extending the basew image specified in the project's stack.yaml. Then new image will be extended with an ENTRYPOINT specified for each  entrypoint listed in the config file. ,Stage all the Package executables in the usrlocal&bin subdirectory of a temp directory. `Add any additional files into the temp directory, respecting the (Source, Destination) mapping. 0Derive an image name from the project directory. dCreate a general purpose docker image from the temporary directory of executables & static content. HExtend the general purpose docker image with entrypoints (if specified). 1Fail with friendly error if project root not set.)The command name for dealing with images.1The command name for building a docker container.+Convert image opts monoid to image options.             >None!"47>CILN8Date and project path where Docker image hash last used.:Update last used time and project for a Docker image hash.?Get a list of Docker image hashes and when they were last used._Given a list of all existing Docker images, remove any that no longer exist from the database.IGet the record of whether an executable is compatible with a Docker imageJSeet the record of whether an executable is compatible with a Docker image URun an action with the global database. This performs any needed migrations as well.%                     ! "  #         "  # #  #   #   ! #  #   #     ?None4 Default  EnvSettings+ which includes locals and GHC_PACKAGE_PATH!;Environment settings which do not embellish the environment":Execute a process within the Stack configured environment.*Execution will not return, because either:t1) On non-windows, execution is taken over by execv of the sub-process. This allows signals to be propagated (#527)2) On windows, an  $ exception will be thrown.#Like ", but does not use execvZ on non-windows. This way, there is a sub-process, which is helpful in some cases (#1306)%This function only exits by throwing  $. !"#$ !"#$ !"#$ !"#$@None+4N %5Exception that might occur when making a new project.%#Options for creating a new project.'Name of the project to create.(2Whether to create the project without a directory.)Name of the template to use.*4Nonce parameters specified just for this invocation.+,Create a new project with the given options. &/Download and read in a template's text content. '-Apply and unpack a template into a directory. (5Check if we're going to overwrite any existing files. ))Write files to the new project directory. *.Run any initialization functions, such as Git.,GDisplay the set of templates accompanied with description if available.-Get the set of templates. +*Parser the set of templates from the JSON..<The default template name you can use if you don't have one. ,&Default web root URL to download from. -@Default web URL to get a yaml file containing template metadata. .*Default web URL to list the repo contents.' % / 0 1 2 3 4 5 6 7 8 9 : ; < =%&'()*+ & ' ( ) *,- > ? +. , - . @ A {}%&'()*+,-. +%&'()*.}-{, % / 0 1 2 3 4 5 6 7 8 9 : ; < =%&'()*+ & ' ( ) *,- > ? +. , - . @ AANone&+4 BExceptions thrown by  Stack.Nix. CECan't determine the project root (location of the shell file if any)./rIf Nix is enabled, re-runs the currently running OS command in a Nix container. Otherwise, runs the inner action. D?Shell-escape quotes inside the string and enclose it in quotes. E1Fail with friendly error if project root not set. FS* if we are currently running inside a Nix. GEnvironment variable used to indicate stack is running in container. although we already have STACK_IN_NIX_EXTRA_ARGS that is set in the same conditions, it can happen that STACK_IN_NIX_EXTRA_ARGS is set to empty.0Command-line argument for "nix" H B C/ I D E F G01 J K/01/01 H B C/ I D E F G01 J KBNone4 L4Passed to all the path printers as a source of info.2YPrint out useful path information in a human-readable format (and support others later). MThe paths of interest to a user. The first tuple string is used for a description that the optparse flag uses, and the second string as a machine-readable key and also for --foo: flags. The user can choose a specific path to list like  --stack-root7. But really it's mainly for the documentation aspect.!When printing output we generate PathInfoi and pass it to the function to generate an appropriate string. Trailing slashes are removed, see #506 L N O P Q R S T U V W X Y23 M Z2323 L N O P Q R S T U V W X Y23 M ZCNone+N4Settings for creating an Uploader. Since 0.1.0.05The computed value from a UploadSettings.%Typically, you want to use this with A. Since 0.1.0.068Whether the Hackage credentials were loaded from a file.This information is useful since, typically, you only want to save the credentials to a file if it wasn't already loaded from there. Since 0.1.0.07)A source for getting Hackage credentials. Since 0.1.0.08*Username and password to log into Hackage. Since 0.1.0.09/Load Hackage credentials from the given source. Since 0.1.0.0:3Save the given credentials to the credentials file. Since 0.1.0.0;OLoad the Hackage credentials from the prompt, asking the user to type them in. Since 0.1.0.0<7Load the Hackage credentials from the JSON config file. Since 0.1.0.0=6Load the Hackage credentials from the given arguments. Since 0.1.0.0>]Try to load the credentials from the config file. If that fails, ask the user to enter them. Since 0.1.0.0 [5Lifted from cabal-install, Distribution.Client.Upload@ Turn the given settings into an Uploader. Since 0.1.0.0A'Upload a single tarball with the given Uploader. Since 0.1.0.0B'Upload a single tarball with the given Uploader#. Instead of sending a file like A, this sends a lazy bytestring. Since 0.1.2.1CDefault value for UploadSettings.(Use setter functions to change defaults. Since 0.1.0.0DChange the upload URL. Default: " &https://hackage.haskell.org/packages/" Since 0.1.0.0E&How to get an HTTP connection manager. Default: newManager tlsManagerSettings Since 0.1.0.0F#How to get the Hackage credentials. Default:  fromAnywhere Since 0.1.0.0G(Save new credentials to the config file. Default: True Since 0.1.0.0)4 \ ] ^ _ `5 a b c d67 e f8 g h i9:; j<=> [?@ kABCDEFG l m n o456789:;<=>?@ABCDEFG?@5AB4CDEFG89:67>;<=4 \ ] ^ _ `5 a b c d67 e f8 g h i9:; j<=> [?@ kABCDEFG l m n oDNone !"(+047>CFIN p2Populate the package index caches and return them. q7Require that an index be present, updating if it isn't.H!Update all of the package indices rUpdate the index tarball s/Update the index Git repo and the index tarball t!Update the index tarball via HTTP u Is the git executable installed? vDelete the package index cacheI!Lookup a package's versions from  w.JCGet the known versions for a given package from the package caches.See M for performance notes.LAccess the package caches from  w.FIXME: This is a temporary solution until a better solution to access the package caches from Stack.Build.ConstructPlan has been found.M;Load the package caches, or create the caches if necessary.vThis has two levels of caching: in memory, and the on-disk cache. So, feel free to call this function multiple times. x[Clear the in-memory hackage index cache. This is needed when the hackage index is updated. y(Return the number of blocks in an entry. z { | p qH r sGit URL turl u vIJKLM x y } ~HIJKLMHMLJIK z { | p qH r s t u vIJKLM x y } ~ENone  +47FIMN Contents of the .cabal fileS/Fetch packages into the cache without unpackingT.Intended to work for the command line command.UEnsure that all of the given package idents are unpacked into the build unpack directory, and return the paths to all of the subdirectories.V4Resolve a set of package names and identifiers into  FetchPackage values.X:Add the cabal files to a list of idents with their caches.Y.Provide a function which will load up a cabal  ByteString from the package indices. Given package identifier and package caches, return list of packages with the same name and the same two first version number components found in the caches. Try to come up with typo corrections for given package identifier using package caches. This should be called before giving up, i.e. when   cannot return anything. Figure out where to fetch from. KDownload the given name,version pairs into the directory expected by cabal.JFor each package it downloads, it will optionally unpack it to the given Path (if present). Note that unpacking is not simply a matter of untarring, but also of grabbing the cabal file from the package index. The destinations should not include package identifiers.HReturns the list of paths unpacked, including package identifiers. E.g.: #fetchPackages [("foo-1.2.3", Just "somedest")] ==> ["somedest/foo-1.2.3"]  Since 0.1.0.0Z)Internal function used to unpack tarball.Takes a path to a .tar.gz file, the name of the directory it should contain, and a destination folder to extract the tarball into. Returns unexpected entries, as pairs of paths and descriptions., NOPQR ST destinationnames or identifiersUunpack directory the dist rename directory, see: (https://github.com/fpco/stack/issues/157VWXY directory to unpack into, Nothing means no unpack  the dist rename directory, see: (https://github.com/fpco/stack/issues/157Z NOPQRSTUVWXYZ TUSZVWNOPQRXY   NOPQR  STUVWXY Z FNone !"+04F set of shadowed dependenciesiYDetermine the necessary packages to install to have the given set of packages available.EThis function will not provide test suite and benchmark dependencies.8This may fail if a target package is not present in the  BuildPlan. 7Add in the resolved dependencies from the package index BResolve all packages necessary to install for the needed packages.j*Map from tool name to package providing itl Load up a x, preferably from cache MSome hard-coded fixes for build plans, hopefully to be irrelevant over time.  Load the f for the given snapshot. Will load from a local copy if available, otherwise downloading from Github. Find the set of FlagNames necessary to get the given GenericPackageDescription to compile against the given  BuildPlan. Will only modify non-manual flags, and will prefer default values for flags. Returns the plan which produces least number of dep errors Check whether with the given set of flags a package's dependency constraints can be satisfied against a given build plan or pool of packages. Checks if the given package dependencies can be satisfied by the given set of packages. Will fail if a package is either missing or has a version outside of the version range.  Combine two _s for the same F. &Given a bundle of packages (a list of GenericPackageDescriptions's) to build and an available package pool (snapshot) check whether the bundle's dependencies can be satisfied. If flags is passed as Nothing flag settings will be chosen automatically. Compare [, where GT means a better plan.qCheck a set of  zs and a set of flags against a given snapshot. Returns how well the snapshot satisfies the dependencies of the packages.riFind a snapshot and set of flags that is compatible with and matches as best as possible with the given  s.6[\]^_`abc defghi"is it shadowed by a local package?"required packages, and users of it Compiler versioncoresnon-core packages  allow missingCompiler version "is it shadowed by a local package?jkl mnop 6package using dependencies, for constructing DepErrorsdependency constraintsAvailable package pool or index qrst uv)Root directory for when url is a filepath *nopqrstuvwxyz{[\]^_`abcdefghijklmnopqrstuv*defgh[\]^q_`abcomnxyz{nopqrstuvwklpirjustv&[\]^_`abc  defghi jkl mnop qrst uv GNone 47FMNxAll flags for a local packagez7Use the build options and environment to parse targets.3If the local packages views are already known, use { instead. xFor every package in the snapshot which is referenced by a flag, give the user a warning and then add it to extra-deps.|9Parse out the local package views for the current project OCheck if there are any duplicate package names and, if so, throw an exception. 7Upgrade the initial local package info to a full-blown  LocalPackage" based on the selected components YEnsure that the flags specified in the stack.yaml file and on the command line are used. /Add in necessary packages to extra dependenciesOriginally part of  5https://github.com/commercialhaskell/stack/issues/272, this was then superseded by 5https://github.com/commercialhaskell/stack/issues/651 Compare the current filesystem state to the cached information, and determine (1) if the files are dirty, and (2) the new cache values.}NReturns entries to add to the build cache for any newly found unlisted modules )Gets list of Paths for files in a package )Get file modification time, if it exists.  Create FileCacheInfo for a file.Get  for package given its name.wxyz{Local package views snapshot extra-depslocalspackages referenced by a flag|  extra depssnapshot, for error messages original extra deps)package identifiers from the command line&all packages added on the command line new extradeps  old cachefiles in package} ~ wxyz{|}~ wxy|z{}~wxyz{ | } ~HNone  +047CFN Length of dpPath  Length of package names combined OA path where the packages later in the list depend on those that come earlier $Reason why a dependency was not used 7For display purposes only, Nothing if package not found >Recommend adding to extra-deps, give a helpful version number? Cexecutable to be installed, and location where the binary is placed 'why a local package is considered dirty $Packages which count as dependencies Warnings KWhich packages a given package depends on, along with the package's version fDetermine which packages to unregister based on the given tasks and already registered local packages \Get all of the dependencies for a given package, including guessed build tool dependencies. Strip out anything from the Plan intended for the local database ;Is the given package/version combo defined in the snapshot? zGet the shortest reason for the package to be in the build plan. In other words, trace the parent dependencies back to a   package.Y &additional packages that must be builtlocally registeredload upstream package #is this being used by a dependency?  #is this being used by a dependency?    #is this being used by a dependency?               3                              INone&3457U5Invoked at the beginning of running with "--coverage"iMove a tix file into a sub-directory of the hpc report directory. Deletes the old one if one is present. ;Get the directory used for hpc reports for the given pkgId. nGet the tix file location, given the name of the file (without extension), and the package identifier string.VGenerates the HTML coverage report and shows a textual coverage summary for a package. Module names which contain  E have a package name, and so they weren't built into the executable.    !  " # $ % & '      !  " # $ % & 'JNone+Exceptions during cleanup. Options for  stack clean.,Delete the "dist directories" as defined in cb for the given local packages. If no packages are given, all project packages should be cleaned.+Delete all work directories in the project./Deletes build artifacts in the current project.Throws .  ( ) * ( ) *KNoneF-List the packages inside the current project.(List the targets in the current project.LNone +4>CFLNU;An environment with a subset of BuildConfig used for setup. +WIf deprecated path exists, use it and print a warning. Otherwise, return the new path.Get the location of the implicit global project directory. If the directory already exists at the deprecated location, its location is returned. Otherwise, the new location is returned. Download the | value from stackage.org.Turn an  into a . ,+Get the latest snapshot resolver available. -pGet the directory on Windows where we should install extra programs. For more information, see discussion at: >https://github.com/fpco/minghc/issues/43#issuecomment-99737383 Load the .oLoad the configuration, using current directory, environment variables, and defaults as necessary. The passed Maybe (Path Abs File)> is an override for the location of the project's stack.yaml. .MLoad the build configuration, adds build-specific values to config loaded by  loadConfig . values.SResolve a PackageEntry into a list of paths, downloading and cloning as necessary. /MResolve a PackageLocation into a path, downloading and cloning as necessary. 0Get the stack root, e.g. ~/.stack), and determine whether the user owns it.'On Windows, the second value is always S. dir throws c if dir" isn't owned by the current user.If dirh doesn't exist, its parent directory is checked instead. If the parent directory doesn't exist either, _ ( dir) is thrown. 1 1 dir returns  (dir, S) when dir6 exists and the current user owns it in the sense of  2. 20Check whether the current user (determined with getEffectiveUserId#) is the owner for the given path.Will always return S on Windows.S7 if we are currently running inside a Docker container. 36Determine the extra config file locations which exist.Returns most local first 47Load and parse YAML from the given conig file. Throws U when there's a decoding error. 5(Load and parse YAML from the given file. 6:Get the location of the project config file, if it exists. 7Find the project config file location, respecting environment variables and otherwise traversing parents. If no config is found, we supply a default based on current directory. 8Get the location of the default stack configuration file. If a file already exists at the deprecated location, its location is returned. Otherwise, the new location is returned. 9Get the location of the default user configuration file. If a file already exists at the deprecated location, its location is returned. Otherwise, the new location is returned.! : +QDescription of file for warning (if Nothing, no deprecation warning is displayed)Test for existenceNew pathDeprecated path((Path to use, whether it already exists) , ;stack root, e.g. ~/.stackuser config file path, e.g. ~.stack config.yaml -0Config monoid from parsed command-line argumentsOverride resolverProject config to use, if any0Config monoid from parsed command-line argumentsOverride resolverOverride stack.yaml . project root / project root 0Parsed command-line arguments 1 2 3use config path 4 5 6Override stack.yaml 7Override stack.yaml 8 9 < = > ? @    : + , ; - . / 0 1 2 3 4 5 6 7 8 9 < = > ? @MNone4NNNone 04Ue.g. ghc-7.8.4, msys2-20150512e.g. ghcjs-0.1.0_ghc-7.10.22Binary directories for the given installed package A  AOSigning Packages(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNone4IN\Sign a haskell package with the given url of the signature service and a path to a tarball.Sign a haskell package with the given url to the signature service, a package tarball path (package tarball name) and a lazy bytestring of bytes that represent the tarball bytestream. The function will write the bytes to the path in a temp dir and sign the tarball with GPG.BSign a haskell package given the url to the signature service, a PackageIdentifier( and a file path to the package on disk.dGPG Signatures for Stack(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNone=>PNone+#Does not include the current action B C D E F G H I J Kthreads$keep going after one task has failedrun final actions concurrently?progress updated L M N B C D E F G H I J K L M NQNone &47U O$Temporary Setup.hs for simple builds PCompiled version of eeSetupHsTFetch the packages necessary for a build, for example in combination with a dry run.8Print a description of build plan for human consumption. Q For a dry run RGet a compiled Setup exe!Execute a callback that takes an .Perform the actual plan SWindows can't write over the current executable. Instead, we rename the current executable to something else and then do the copy. T"Perform the actual plan (internal) UGenerate the ConfigCache VCEnsure that the configuration for the package matches what is given WMCheck if any unlisted files have been found, and add them to the build cache. X8Determine if all of the dependencies given are installed YIStrip Template Haskell "Loading package" lines and making paths absolute. Z[Find the Setup.hs or Setup.lhs in the given directory. If none exists, throw an exception. [Take the given list of package dependencies and the contents of the global package database, and construct a set of installed package IDs that:-Excludes the Cabal library (it's added later)1Includes all packages depended on by this packageIncludes all global packages, unless: (1) it's hidden, (2) it's shadowed by a depended-on package, or (3) one of its dependencies is not met.See: 5https://github.com/commercialhaskell/stack/issues/941 5https://github.com/commercialhaskell/stack/issues/944 5https://github.com/commercialhaskell/stack/issues/949/ \ ] ^ _ ` a b c d O P e f g h i j k l m Q RSetup.hs input filetemporary directoryglobal packagessnapshot packageslocal packagesglobal packagessnapshot packageslocal packages S T n U VnewConfigCachepackage directoryannouncecabal .cabal file owAll dependencies' package ids to provide to Setup.hs. If Nothing, just provide global and snapshot package databases. pIs this a final build? W X q r Yexclude TH loading?convert paths to absolute?package's root directory Zproject directory s t u v w [dependencies of the packageglobal packages \ ] ^ _ ` a b c d O P e f g h i j k l m Q R S T n U V o p W X q r Y Z s t u v w [RNone  &+04FNBuild.If a buildLock is passed there is an important contract here. That lock must protect the snapshot, and it must be safe to unlock it if there are no further modifications to the snapshot to be performed by this build. xVIf all the tasks are local, they don't mutate anything outside of our local directory. ySee  6https://github.com/commercialhaskell/stack/issues/1198.Get the BaseConfigOpts- necessary for constructing configure optionsIProvide a function for loading package information from the package index zPSet the code page for this process as necessary. Only applies to Windows. See: 5https://github.com/commercialhaskell/stack/issues/738PQuery information about the build and print the result to stdout in YAML format. {$Get the raw build information object |*callback after discovering all local files x } y ~ z selectors {   | x } y ~ z {  SNone +-4>LMNUV0If we got the desired GHC version from that file&Run a sanity check on the selected GHC5Don't check for a compatible GHC version/architecture0Do not use a custom msys installation on WindowsUpgrade the global Cabal library in the database to the newest version. Only works reliably with a stack-managed installation.8Message shown to user for how to resolve the missing GHC*Location of the main stack-setup.yaml file>Alternate GHC binary distribution (requires custom GHCVariant)-Default location of the stack-setup.yaml file[Modify the environment variables (like PATH) appropriately, possibly doing installation too 1Add the include and lib paths to the given ConfigUEnsure compiler (ghc or ghcjs) is installed and provide the PATHs to add if necessary bDetermine which GHC build to use dependong on which shared libraries are available on the system.#Ensure Docker container-compatible stack executable is downloaded ,Install the newest version of Cabal globally4Get the version of the system compiler, if available "Download the most recent SetupInfo QCheck if given processes appear to be present, throwing an exception if missing. Unpack a compressed tarball using 7zip. Expects a single directory in the unpacked results, which is renamed to the destination directory. BDownload 7z as necessary, and get a function for unpacking things.8Returned function takes an unpack directory and archive. Given a printf format string for the decimal part and a number of bytes, formats the bytes using an appropiate unit and returns the formatted string.bytesfmt "%.2" 512368"500.359375 KiB" #Perform a basic sanity check of GHC MGet map of environment variables to set to change the GHC's encoding to UTF-8L 8Message to give user when necessary GHC is not available    already installedpackage to findwhich versions are acceptable OS Key $Name of tool, used in error messagesPath to archive fileLName of directory expected in archive. If Nothing, expects a single folder.Destination directory. labelURL, content-length, and sha1 destination  -        TNone&+4FIMNV @Function to get command and arguments to run in Docker container Parsed Config section of docker inspect output. Parsed result of docker inspect.Cleanup action. Options for .xIf Docker is enabled, re-runs the currently running OS command in a Docker container. Otherwise, runs the inner action.FThis takes an optional release action which should be taken IFF control is transfering away from the current process to the intra-container one. The main use for this is releasing a lock. After launching reexecution, the host process becomes nothing but an manager for the call into docker and thus may not hold the lock. If Docker is enabled, re-runs the OS command returned by the second argument in a Docker container. Otherwise, runs the inner action.0This takes an optional release action just like . Error if running in a container. ?Run a command in a new Docker container, then exit the process.*Clean-up old docker images and containers. "Inspect Docker image or container. 1Inspect multiple Docker images and/or containers.=Pull latest version of configured Docker image from registry.  Pull Docker image from registry. 4Check docker version (throws exception if incorrect)$Remove the project's Docker sandbox.The Docker container "entrypoint": special actions performed when first entering a container, such as switching the UID/GID to the "outside-Docker" user's. CMVar used to ensure the Docker entrypoint is performed exactly once dRemove the contents of a directory, without removing the directory itself. This is used instead of efZ to clear bind-mounted directories, since removing the root of the bind-mount won't work. Produce a strict gh) from the stdout of a process. Throws a ? exception if the process fails. Logs process's stderr using  $logError. -Name of home directory within docker sandbox. Directory where stack/ executable is bind-mounted in Docker container 4Convenience function to decode ByteString to String. .Convenience function constructing message for $log*. 1Fail with friendly error if project root not set. Environment variable that contained the old sandbox ID. | Use of this variable is deprecated, and only used to detect old images. Parse Config section of docker inspect output. Parse docker inspect output./   Project root (maybe)Action to run beforeAction to run after   Directory to remove contents of1Top-level directory names to exclude from removal,Top-level file names to exclude from removal +01234+30124        UNone4iEnforce mutual exclusion of every action running via this function, on this path, on this users account.A lock file is created inside the given directory. Currently, stack uses locks per-snapshot. In the future, stack may refine this to an even more fine-grain locking approach.SLoads global config, ignoring any configuration which would be loaded due to $PWD.YLoad the configuration with a manager. Convenience function used throughout this module.(Unlock a lock file, if the value is Just Action to perform before the build. This will be run on the host OS even if Docker is enabled for builds. The build config is not available in this action, since that would require build tools to be installed on the host OS.mAction that uses the build config. If Docker is enabled for builds, this will be run in a Docker container.Action to perform after the build. This will be run on the host OS even if Docker is enabled for builds. The build config is not available in this action, since that would require build tools to be installed on the host OS.   VNone 47>LNMerge two separate maps, one defining constraints on package versions and the other defining package flagmap, into a single map of version and flagmap tuples. Given a resolver, user package constraints (versions and flags) and extra dependency constraints determine what extra dependencies are required outside the resolver snapshot and the specified extra dependencies.First it tries by using the snapshot and the input extra dependencies as hard constraints, if no solution is arrived at by using hard constraints it then tries using them as soft constraints or preferences.It returns either conflicting packages when no solution is arrived at or the solution in terms of src package flag settings and extra dependencies. Given a resolver (snpashot, compiler or custom resolver) return the compiler version, package versions and packages flags for that resolver. Given a bundle of user packages, flag constraints on those packages and a resolver, determine if the resolver fully, partially or fails to satisfy the dependencies of the user packages.#If the package flags are passed as & then flags are chosen automatically. GFinds all files with a .cabal extension under a given directory. If a  `package.yaml`l file exists, this will be used to generate a cabal file. Subdirectories can be included depending on the recurse parameter. CSpecial directories that we don't want to traverse for .cabal files Perform some basic checks on a list of cabal files to be used for creating stack config. It checks for duplicate package names, package name and cabal file name mismatch and reports any issues related to those.+If no error occurs it returns filepath and GenericPackageDescriptionTs pairs as well as any filenames for duplicate packages not included in the pairs.Verify the combination of resolver, package flags and extra dependencies in an existing stack.yaml and suggest changes in flags or extra dependencies so that the specified packages can be compiled.  cabal filessrc constraintsdep constraintsadditional arguments temp dir constraints  stack.yaml file location#package dirs containing cabal filesK( resolver , src package constraints , extra dependency constraints )S(Conflicting packages (resulting src package specs, external dependency specs))    Directories to scanWhether to scan sub-directoriesmodify stack.yaml?                    WNone472List of sub directories to search for .cabal files6Use solver to determine required external dependencies1Exclude conflicting or incompatible user packagesOverwrite existing stack.yaml>If True, include all .cabal files found in any sub directoriesGenerate stack.yaml .Render a stack.yaml file with comments, see: 5https://github.com/commercialhaskell/stack/issues/226 Get the default resolver value  stack.yaml6Src package name: cabal dir, cabal package descriptiont( Resolver , Flags for src packages and extra deps , Extra dependencies , Src packages actually considered)  stack.yaml6Src package name: cabal dir, cabal package descriptiont( Resolver , Flags for src packages and extra deps , Extra dependencies , Src packages actually considered)  stack.yaml6Src package name: cabal dir, cabal package description  XNone4   YNone4F Options record for  stack dot"Include external dependencies#Include dependencies on base$OLimit the depth of dependency resolution to (Just n) or continue until fixpoint%%Package names to prune from the graph&8Visualize the project's dependencies as a graphviz graph Create the dependency graph, the result is a map from a package name to a tuple of dependencies and a version if available. This function mainly gathers the required arguments for resolveDependencies.("pruneGraph dontPrune toPrune graph prunes all packages in graph with a name in toPrune3 and removes resulting orphans unless they are in  dontPrune 9Make sure that all unreachable nodes (orphans) are pruned)LResolve the dependency graph up to (Just depth) or until fixpoint is reached UGiven a SourceMap and a dependency loader, load the set of dependencies for a package NResolve the direct (depth 0) external dependencies of the given local packages*UPrint a graphviz graph of the edges in the Map and highlight the given local packages APrint the local nodes with a different style depending on options  Print nodes without dependencies printDedges p ps" prints an edge from p to every ps +Print an edge between the two package names ,Convert a package name to a graph node name. !Print a node with no dependencies 3Check if the package is wired in (shipped with) ghc !"#$%& '( ) * all locals  !"#$%&'()* &' !"#$%)*( !"#$%& '( ) * ZNone+4F.:Necessary information to load a package or its components.4Module file paths.5C files.8Command-line options for GHC.DLaunch a GHCi session for the given local package targets with the given options and configure it with the load paths and extensions of those targets. Figure out the main-is file to load based on the targets. Sometimes there is none, sometimes it's unambiguous, sometimes it's ambiguous. Warns and returns nothing if it's ambiguous.GiCreate a list of infos for each target containing necessary information to load that package/components. =Make information necessary to load the given package in GHCi.++,-./0123456789:;<=>?@ABCD EF G +,-./0123456789:;<=>?@ABCDEFG89:;<=>?@ABC./01234567+,-GDEF+,-. /012345678 9:;<=>?@ABCD EF G [NoneNHHoogle command.HHHH\NoneI8Allows adjust global options depending on their context Note: This was being used to remove ambibuity between the local and global implementation of stack init --resolver option. Now that stack init has no local --resolver this is not being used anymore but the code is kept for any similar future use cases.J%Global options before subcommand nameK-Global options following any other subcommandM1Parser for bench arguments. FIXME hiding optionsN#Parser for CLI-only build arguments Parser for package:[-]flagO*Command-line parser for the clean command.P0Command-line arguments parser for configuration.R(Options parser configuration for Docker.S$Parser for docker cleanup arguments.T#Parser for arguments to `stack dot`VParser for exec command (Parser for extra options to exec commandX'Parser for global command-line options.Y(Create GlobalOpts from GlobalOptsMonoid.[Parser for a logging level. Parser for the resolver GHC variant parser\ Parser for  solverCmd]Parser for haddock arguments.^+Parser for test arguments. FIXME hide args_ Parser for  stack new.` Parser for stack hpc report. 9If argument is True, hides the option from usage and help#IJKLMN OP QRSTUVWmetavar XYZ[     \]^_`ab !IJKLMNOPQRSTUVWXYZ[\]^_`ab!IJKLMNObPRSTVWXZ_Q[U\^]`aY IJKLMN OP QRSTUVW XYZ[     \]^_`ab ]None47cgit repository to use&git hash at time of building, if knownccc^None &+4IN ZSpecial exception to throw when you want to fail because of bad results of package check.dLGiven the path to a local package, creates its source distribution tarball.While this yields a  n, the name of the tarball, this tarball is not written to the disk and instead yielded as a lazy bytestring. :Get the PVP bounds-enabled version of the given cabal file Traverse a data type.  Read in a 3 config. This makes some default decisions about ; fields that might not be appropriate for other use-cases. SReturns a newline-separate list of paths, and the absolute path to the .cabal file.esCheck package in given tarball. This will log all warnings and will throw an exception in case of critical errors.>Note that we temporarily decompress the archive to analyze it.f Version of eI that first saves lazy bytestring to temporary directory and then calls e on it.  dOverride Config valuePath to local packageFilename and tarball contents    eAbsolute path to tarballf Tarball name!Tarball contents as a byte string Location of tarball/Perform actions given dir with tarball contents ,Full path to find the file on the local disk,Path to use for the tar Entry in the archive   defdef   d    ef      ijkilmnopnoqrstrsursvrswrsxrsyrszrs{rs|rs}rs~rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs       !"#$%&'()* + , - ./0123456789:;<=>?@ABCDEFGHHIJKKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqqrstuvwxyz{|}~                                                                                         ! !!!"!#"$"$"%"&"'"("(")"*"+","-".#/$0$1$2$3$4$5$6$7$8$9$:$;$<$=$>$?$@$A$B$C$D$D$E$F$G$H$I$I$J$K$L$M$N$O$O$P$Q$R$S$T$U$V$W$X$Y$Z$[$\$]$^$_$`$a$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z${$|$}$~$$$$$$$$$$$$$$$$$$$$$$$$-%%%%%%%%%%%%%%%%%%%%%%%%-&&&&''''''''''''''''''''''-''.(((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) ) ) ) ) )))))))))))))))))))) )!)")#)$)%)&*'*'*(*)***+*,*-*.*/*0+1+1+2+3+4+5+5+6+6+7,8,8,9,:,;,<,=,>,?,@,A,B,B,C,D,D,E,F,G,H,H,I,I,J,K,L,M-N-N-O-P-P-Q-R-R-S-T-U-V-W-X-X-Y-Z-[-\-]-]-^-_-`-a-b-c-d-e-f-g-g-h-i-j-k-l-m-n-n-o-p-q-q-r-s-t-u-v-w-x-y-z-{-|-}-|-~---------------------------------------------------------------------------------------------------------------------------------------------------- - - - - --------------------- -!-!-"-#-$-%-&-'-(-)-*-*-+-,---.-/-0-1-2-3-4-5-6-7-8-9-:-;-<-=->-?-@-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z-[-\-]-^-_-`-a-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z-{-|-}-~--------c..////////////////////////////////////////////////////////////////////////////////////////////////////////// / / / / /////////////////// /!/"/#/$/%/&/'0(0(0)0*0+0+0,0-0.0.0/00010203040506060708090:0;0<0=0>0>0?0@0A0A0B0C0D0E0F0G0G0H0I0J0K0L0L0M0N0O0P0Q0R0S0T0U0V0W0X0Y0Z0[0\0]0^0_0`0a0b0c0d0e0f0g0h0i0j0k0l0m0n0o0p1q1q1r1s1t1u1v1w1x1x1y1z1{1|1}1~111111111122222223333333333333333333333333344444455555555555555555555555555555555555555555555566666666666777777777777777778888899999999999999999 9 : : : ::::::::;;;;<<<<<<= =!="=#=$>%>&>'>(>)>*>+>,?-?.?/?0?1@2@2@3@4@5@6@7@8@9@:A;A<A=B>B?C@CACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSDTDUDVDWDXDYEZEZE[E\E]E^E_E`EaEbEcEdEeFfFgFhFiFjFjFkFlFmFnFoFpFqFrFsFtFuFvFwFxFyFzF{F|F}F~FFGbGGGGGGGGHIIIIIIIIIIIJJJJJJKKLLLLLLLaLLLLMMMMMNNNNNNNNNNNNNNNNNNOOOPPPPPPPPPPPPPPPQQQQQQRRRRRRRRSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTUUUUUUUUUUVVVV V V V V WWWWWWWWXXXXXXXXXYYYYY Y!Y"Y#Y$Y%Y&Z'Z(Z)Z*Z*Z+Z,Z-Z.Z/Z0Z1Z2Z3Z3Z4Z5Z6Z7Z8Z9Z:Z;Z<Z=Z>Z?Z@ZA[B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z\[\\]]^^^_^`abcdefghijklmnopqrstuvwxyz{|}~          h&   ts        !""#$%&'()*+,+-./0123435363738393:3;<;=>?@ABCDEFEGEHIJKLMNOPQRSTUVWXYZZ[\]^_`abcdef_ghijklmmnopqrstuvwxyz{z|}~            _                         !! !!!!!!!!!!!&&))))))))))))))))))))))))))-)).))))**********+,-,,,,,,,---------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- - -.--- - - !- "- #- $- %- &- '- (- )- *- +- ,- -- .- /- 0- 1- 2- 3- 4- 5- 6- 7- 8- 9- :- ;- <- =- >- ?- @ A B0 C0 D0 E0 F0 G0 H0 I0 J0 K0 L0 M0 N0 O0 P0 Q0 R0 S0 T0 U1 V1 W1 X1 Y1 Z1 Z1 [1 \1 ]1 ^1 _2 `2 a2 b3 c3 d3 e3 f3 g3 h3 i3 j3 k3 l4 m4 n4 o4 p4 q4 r6 s6 t6 u6 v6 w7 x7 y7 z7 {7 |8 }8 ~8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 i  i  9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : = = = = = = = = = = == = = > > > > > > > > > > > > > > > >&> > > > > > > >'> > > > >   @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ !@ "@ #@ $@ %@ &@ '@ (AA )A *A A +A ,A A -AAB .B /B .B 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B :B ;C <C@C =C >C ?C @CAC AC BC CCCC DCDC EC FC GC HC IC JC KC LD MD ND OD PD QD RD S TD UD VD WD XD YD ZD [E \E ]E ^E _E `E aE aE bE cE dE dE eE fE gE hE iE jE kE lE mE nE oE pE qE rE sE tE uE vE wE xF yF zF {F |F }F ~F F F F F F F F F F F F F F F F F F F F G G G G G G G G G G G H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H I I I  I I I I I I I I I J J J L L L L L L L L L L L L L L L LL L L L L L N P P P P P P P P P P P P !P "Q #Q $Q %Q &Q 'Q (Q )Q *Q +Q ,Q -Q .Q /QQ 0Q 1Q 2Q 3Q 4Q 5Q 6Q 7Q 8Q 9Q :Q ;Q <Q =Q >Q ?Q Q @Q AQ BQ CQ DQ EQ FQ GQ HQ IR JR KR LR MR R NR OR PR QS RS SS TS US VS WS XS YS ZS [S \S \S ]S ^S _S `S aS bS cS dS eS fS gS hS iS jS kS lS mS nS oS pS qS rS sS tS uS vS wS xS yS zS {S |S }S ~S S S S S S S S S T T T T T T T T T T T T T T T T T T T T T T T T T T T T T V V V V V V V V V V V V W W W W W W Y Y Y Y Y Y Y Y Y Y Y Z Z Z Z Z Z Z Z Z Z Z Z Z Z \ \ \ \ \ \ \ \ \ ^   ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ stack_1aESD2P5ENhGFSt7W7ATG0Stack.Ghci.ScriptStack.Types.VersionNetwork.HTTP.Download Text.PrettyPrint.Leijen.ExtendedSystem.Process.RunSystem.Process.ReadStack.FileWatchSystem.Process.PagerEditorSystem.Process.Log Paths_stack Path.Find Path.ExtraOptions.Applicative.Complicated!Options.Applicative.Builder.ExtraNetwork.HTTP.Download.VerifiedDistribution.Version.ExtraData.Yaml.ExtraData.Store.VersionTaggedData.Monoid.ExtraData.Maybe.ExtraData.IORef.RunOnceStack.ConstantsData.Attoparsec.CombinatorsData.Attoparsec.ArgsOptions.Applicative.ArgsData.Aeson.ExtendedStack.Types.FlagNameStack.Types.PackageNameStack.Types.Sig Stack.Sig.GPGStack.Types.CompilerStack.Types.BuildPlanStack.Types.GhcPkgIdStack.Types.UrlsStack.Config.UrlsStack.Types.DockerStack.Types.NixStack.Config.NixStack.Types.ImageStack.Types.TemplateNameStack.Types.Config.BuildStack.Types.PackageIdentifierStack.Types.PackageDumpStack.Types.PackageIndexStack.Types.ConfigData.Attoparsec.InterpreterStack.Types.PackageStack.Types.BuildStack.Build.Target Stack.GhcPkgStack.PackageDumpStack.Build.HaddockStack.Types.InternalStack.PrettyPrintStack.Build.CacheStack.Build.Installed Stack.PackageStack.Types.StackTStack.Config.BuildStack.Config.Docker Stack.ImageStack.Docker.GlobalDB Stack.Exec Stack.New Stack.Nix Stack.Path Stack.UploadStack.PackageIndex Stack.FetchStack.BuildPlanStack.Build.SourceStack.Build.ConstructPlanStack.Coverage Stack.Clean Stack.IDE Stack.ConfigStack.ConfigCmdStack.Setup.InstalledStack.Sig.SignControl.Concurrent.ExecuteStack.Build.Execute Stack.Build Stack.Setup Stack.Docker Stack.Runners Stack.Solver Stack.InitStack.SetupCmd Stack.Dot Stack.Ghci Stack.Hoogle Stack.Options Stack.Upgrade Stack.SDistSystem.Process.InternalcreateProcess_ loadConfig loadSourceMapdistRelativeDir Stack.SigFS removeTreeS ByteStringCabal_Ku2CIqstfjg7Z2SNHUypWHDistribution.ModuleName ModuleNameDistribution.Version VersionRangemtl_Aue4leSeVkpKLsfHIV51E8Control.Monad.Reader.Class MonadReaderaskannot_7zYMiF3emLt6jfsSioGRzu!Text.PrettyPrint.Annotated.Leijen noAnnotateannotategroupnest linebreaklinealignhangindentfill fillBreakenclosebracketsanglesparensbracesdquotessquotes softbreaksoftline<+>vcathcatfillCatcatvsephsepfillSepsep punctuate encloseSepDocstrea_EmmPiWycOZRDBDTh9xaABjData.Streaming.ProcessProcessExitedUnsuccessfullyproce_52AgREEfSrnJLlkGV9YZZJSystem.Process readProcesshttpc_7BjwxAO5Wi8LL3NN0jVOeANetwork.HTTP.Client.Request parseRequest parseUrlThrowNetwork.HTTP.Client.TypesgetHttpManagerHasHttpManager HasAnsiAnn getAnsiAnn toAnsiDocAnsiAnnAnsiDocDisplayAnndisplay displayPlain renderDefault displayAnsi hDisplayAnsiblack dullblackonblack ondullblackreddullredonred ondullredgreen dullgreenongreen ondullgreenyellow dullyellowonyellow ondullyellowbluedullblueonblue ondullbluemagenta dullmagenta onmagenta ondullmagentacyandullcyanoncyan ondullcyanwhite dullwhiteonwhite ondullwhiteboldfaintnormal GhciScriptcmdAdd cmdAddFilecmdCdGhc cmdModulescriptToLazyByteStringscriptToBuilder scriptToFileprintExceptionStderr fileWatch fileWatchPollEditorExceptionEditorNotFoundEditorExitFailurePagerException PagerNotFoundPagerExitFailure pageWriterpageByteString pageBuilderpageFile pageStringeditFileeditReaderWritereditByteString editStringlogCreateProcesswithProcessTimeLogshowProcessArgDebugversion getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName findFileUp findDirUp findFiles findInParentstoFilePathNoTrailingSepparseCollapsedAbsDirparseCollapsedAbsFiledropRootrejectMissingFilerejectMissingDirpathToLazyByteStringpathToByteString pathToTextReadProcessException NoPathFoundExecutableNotFoundExecutableNotFoundAt EnvOverride eoTextMap eoStringListeoPath eoExeCacheeoExeExtensions eoPlatform unEnvOverride envSearchPathmodifyEnvOverride mkEnvOverride envHelperreadProcessNulltryProcessStdoutreadProcessStdoutsinkProcessStdoutlogProcessStderrStdoutsinkProcessStderrStdoutsinkProcessStderrStdoutHandle preProcessdoesExecutableExistfindExecutable resetExeCachegetEnvOverride augmentPathaugmentPathMapCmdcmdDirectoryToRunIncmdCommandToRuncmdEnvOverridecmdCommandLineArgumentsrunCmdrunCmd' callProcess callProcess'callProcessInheritStderrStdoutcallProcessObserveStdoutcreateProcess'complicatedOptions addCommandaddSubCommandscomplicatedParser boolFlagsboolFlagsNoDefaultmaybeBoolFlagsfirstBoolFlagsenableDisableFlagsenableDisableFlagsNoDefaultextraHelpOption execExtraHelp textOption textArgument optionalFirst absFileOption relFileOption absDirOption relDirOption eitherReader'VerifiedDownloadExceptionWrongContentLengthWrongStreamLength WrongDigest LengthCheckCheckHexDigestCheckHexDigestStringCheckHexDigestByteStringCheckHexDigestHeader HashCheckhashCheckAlgorithmhashCheckHexDigestDownloadRequest drRequest drHashChecks drLengthCheck drRetryPolicydrRetryPolicyDefaultrecoveringHttpverifiedDownloadhasUpperhasLowerdecodeFileEither encodeFileversionedEncodeFileversionedDecodeOrLoadversionedDecodeFilestoreVersionConfig fromFirst mapMaybeA forMaybeA mapMaybeM forMaybeMrunOnce stackProgName appending alternatingpured concating EscapingModeEscaping NoEscaping parseArgs argsParser argsArgument argsOption cmdOptionparseArgsFromString JSONWarningJSONUnrecognizedFieldsWithJSONWarnings WarningParser.:.:?..:..:?..!= tellJSONFieldwithObjectWarningsunWarningParserlogJSONWarningsjsonSubWarningsjsonSubWarningsTjsonSubWarningsTTnoJSONWarningsDownloadExceptionDownloadJSONExceptionRedownloadFaileddownload redownload downloadJSONliftHTTPFlagNameFlagNameParseFailflagNameParser mkFlagName parseFlagNameparseFlagNameFromStringflagNameString flagNameTextfromCabalFlagNametoCabalFlagName PackageNamePackageNameParseFailCabalFileNameParseFailCabalFileNameInvalidPackageNamepackageNameParser mkPackageNameparsePackageNameparsePackageNameFromStringpackageNameStringpackageNameTextfromCabalPackageNametoCabalPackageNameparsePackageNameFromFilePathpackageNameArgument SigExceptionGPGFingerprintExceptionGPGNotFoundExceptionGPGSignExceptionGPGVerifyExceptionSigInvalidSDistTarBallSigNoProjectRootExceptionSigServiceException Fingerprint Signature mkFingerprintgpgSign gpgVerify VersionCheck MatchMinor MatchExact NewerMinorIntersectingVersionRangegetIntersectingVersionRangeVersion versionParser parseVersionparseVersionFromString versionString versionTexttoCabalVersionfromCabalVersion mkVersionversionRangeText withinRangeintersectVersionRangestoMajorVersionlatestApplicableVersionnextMajorVersion checkVersionCompilerVersion GhcVersion GhcjsVersion WhichCompilerGhcGhcjsparseCompilerVersioncompilerVersionTextcompilerVersionString whichCompilerisWantedCompiler getGhcVersioncompilerExeNamehaddockExeName $fFromJSONMap$fFromJSONCompilerVersion$fToJSONCompilerVersion$fNFDataCompilerVersion$fStoreCompilerVersion SnapshotHashunShapshotHashGitSHA1MiniPackageInfo mpiVersionmpiFlags mpiGhcOptionsmpiPackageDeps mpiToolDepsmpiExes mpiHasLibrary mpiGitSHA1 MiniBuildPlanmbpCompilerVersion mbpPackages SnapshotssnapshotsNightly snapshotsLts Component CompLibraryCompExecutable CompTestSuite CompBenchmarkDepInfo diComponentsdiRange SimpleDesc sdPackagessdToolssdProvidedExes sdModulesExeName unExeName Maintainer unMaintainer SystemInfosiCompilerVersionsiOSsiArchsiCorePackagessiCoreExecutables TestState ExpectSuccess ExpectFailure Don'tBuildPackageConstraintspcVersionRange pcMaintainerpcTests pcHaddockspcBuildBenchmarkspcFlagOverridespcEnableLibProfile CabalFileInfocfiSize cfiHashes PackagePlan ppVersionppCabalFileInfo ppGithubPingsppUsers ppConstraintsppDesc BuildPlan bpSystemInfobpTools bpPackages bpGithubUsersSnapNameLTSNightlyrenderSnapName parseSnapNameminiBuildPlanVCtrimmedSnapshotHashGhcPkgId parseGhcPkgIdghcPkgIdParserghcPkgIdString UrlsMonoidurlsMonoidLatestSnapshoturlsMonoidLtsBuildPlansurlsMonoidNightlyBuildPlansUrlsurlsLatestSnapshoturlsLtsBuildPlansurlsNightlyBuildPlans$fMonoidUrlsMonoid$fFromJSONWithJSONWarnings$fFromJSONWithJSONWarnings0urlsFromMonoidStackDockerExceptionDockerMustBeEnabledExceptionOnlyOnHostExceptionInspectFailedExceptionNotPulledExceptionInvalidCleanupCommandExceptionInvalidImagesOutputExceptionInvalidPSOutputExceptionInvalidInspectOutputExceptionPullFailedExceptionDockerTooOldException DockerVersionProhibitedExceptionBadDockerVersionExceptionInvalidVersionOutputExceptionHostStackTooOldExceptionContainerStackTooOldException#CannotDetermineProjectRootExceptionDockerNotInstalledException(UnsupportedStackExeHostPlatformExceptionDockerStackExeParseExceptionVersionRangeJSONunVersionRangeJSONDockerMonoidRepoOrImageDockerMonoidRepoDockerMonoidImageMountDockerStackExeDockerStackExeDownloadDockerStackExeHostDockerStackExeImageDockerStackExePathDockerOptsMonoiddockerMonoidDefaultEnabledockerMonoidEnabledockerMonoidRepoOrImagedockerMonoidRegistryLogindockerMonoidRegistryUsernamedockerMonoidRegistryPassworddockerMonoidAutoPulldockerMonoidDetachdockerMonoidPersistdockerMonoidContainerNamedockerMonoidRunArgsdockerMonoidMountdockerMonoidEnvdockerMonoidDatabasePathdockerMonoidStackExedockerMonoidSetUser dockerMonoidRequireDockerVersion DockerOpts dockerEnable dockerImagedockerRegistryLogindockerRegistryUsernamedockerRegistryPassworddockerAutoPull dockerDetach dockerPersistdockerContainerName dockerRunArgs dockerMount dockerEnvdockerDatabasePathdockerStackExe dockerSetUserdockerRequireDockerVersionparseDockerStackExedockerEnableArgNamedockerRepoArgNamedockerImageArgNamedockerRegistryLoginArgNamedockerRegistryUsernameArgNamedockerRegistryPasswordArgNamedockerAutoPullArgNamedockerDetachArgNamedockerRunArgsArgNamedockerMountArgNamedockerEnvArgNamedockerContainerNameArgNamedockerPersistArgNamedockerDatabasePathArgNamedockerStackExeArgNamedockerStackExeDownloadValdockerStackExeHostValdockerStackExeImageValdockerSetUserArgName!dockerRequireDockerVersionArgNamedockerEntrypointArgName dockerCmdNamedockerHelpOptNamedockerPullCmdNamedockerCleanupCmdName reExecArgNamedockerContainerPlatform$fShowStackDockerException$fExceptionStackDockerException$fFromJSONVersionRangeJSON$fFromJSONMount $fShowMount $fReadMount$fFromJSONDockerStackExe$fMonoidDockerOptsMonoid NixOptsMonoidnixMonoidDefaultEnablenixMonoidEnablenixMonoidPureShellnixMonoidPackagesnixMonoidInitFilenixMonoidShellOptions nixMonoidPathNixOpts nixEnable nixPureShell nixPackages nixInitFilenixShellOptionsnixEnableArgNamenixPureShellArgNamenixPackagesArgNamenixInitFileArgNamenixShellOptsArgNamenixPathArgName$fMonoidNixOptsMonoidStackNixException)NixCannotUseShellFileAndPackagesExceptionnixOptsFromMonoid nixCompilerImageOptsMonoidimgMonoidDockersImageDockerOpts imgDockerBaseimgDockerEntrypoints imgDockerAddimgDockerImageNameimgDockerExecutables ImageOpts imgDockers imgArgNameimgDockerOldArgNameimgDockersArgNameimgDockerBaseArgNameimgDockerAddArgNameimgDockerEntrypointsArgNameimgDockerImageNameArgNameimgDockerExecutablesArgName$fMonoidImageOptsMonoid TemplateInfoauthor description TemplatePathAbsPathRelPathUrlPath TemplateNametemplateNameArgumenttemplateParamArgumentparseTemplateNameFromStringmkTemplateName templateName templatePath$fFromJSONTemplateInfo$fFromJSONTemplateName FileWatchOpts NoFileWatch FileWatch FileWatchPollBenchmarkOptsMonoidbeoMonoidAdditionalArgsbeoMonoidDisableRun BenchmarkOptsbeoAdditionalArgs beoDisableRunHaddockOptsMonoidhoMonoidAdditionalArgs HaddockOptshoAdditionalArgsTestOptsMonoidtoMonoidRerunTeststoMonoidAdditionalArgstoMonoidCoveragetoMonoidDisableRunTestOpts toRerunTeststoAdditionalArgs toCoverage toDisableRun BuildSubsetBSAllBSOnlySnapshotBSOnlyDependenciesBuildOptsMonoidbuildMonoidLibProfilebuildMonoidExeProfilebuildMonoidHaddockbuildMonoidHaddockOptsbuildMonoidOpenHaddocksbuildMonoidHaddockDepsbuildMonoidInstallExesbuildMonoidPreFetchbuildMonoidKeepGoingbuildMonoidForceDirtybuildMonoidTestsbuildMonoidTestOptsbuildMonoidBenchmarksbuildMonoidBenchmarkOptsbuildMonoidReconfigurebuildMonoidCabalVerbosebuildMonoidSplitObjs BuildCommandBuildTestHaddockBenchInstall BuildOptsCLIboptsCLITargetsboptsCLIDryrunboptsCLIGhcOptions boptsCLIFlagsboptsCLIBuildSubsetboptsCLIFileWatch boptsCLIExecboptsCLIOnlyConfigureboptsCLICommand BuildOptsboptsLibProfileboptsExeProfile boptsHaddockboptsHaddockOptsboptsOpenHaddocksboptsHaddockDepsboptsInstallExes boptsPreFetchboptsKeepGoingboptsForceDirty boptsTests boptsTestOptsboptsBenchmarksboptsBenchmarkOptsboptsReconfigureboptsCabalVerboseboptsSplitObjsdefaultBuildOptsdefaultBuildOptsCLIdefaultTestOptsdefaultHaddockOptsdefaultBenchmarkOptsPackageIdentifierpackageIdentifierNamepackageIdentifierVersiontoTuple fromTuplepackageIdentifierParserparsePackageIdentifier parsePackageIdentifierFromStringpackageIdentifierStringpackageIdentifierTextInstalledCacheEntryinstalledCacheProfilinginstalledCacheHaddockinstalledCacheIdentInstalledCacheInnerInstalledCacheinstalledCacheVC PackageIndex indexName indexLocationindexDownloadPrefixindexGpgVerifyindexRequireHashes IndexLocationILGitILHttp ILGitHttp IndexName unIndexNamePackageDownloadpdSHA512pdUrlpdSizePackageCacheMap PackageCachepcOffsetpcSize pcDownload indexNameText PackageFlagsunPackageFlags GhcOptions unGhcOptionsCustomSnapshotcsCompilerVersion csPackagescsDropPackagescsFlags csGhcOptions DockerUserduUidduGidduGroupsduUmaskDockerEntrypointdeUser PvpBounds PvpBoundsNonePvpBoundsUpperPvpBoundsLower PvpBoundsBothSetupInfoLocationSetupInfoFileOrURLSetupInfoInline SetupInfo siSevenzExe siSevenzDllsiMsys2siGHCssiGHCJSssiStackVersionedDownloadInfo vdiVersionvdiDownloadInfo DownloadInfodownloadInfoUrldownloadInfoContentLengthdownloadInfoSha1 CompilerBuildCompilerBuildStandardCompilerBuildSpecialized GHCVariant GHCStandardGHCIntegerSimple GHCCustomPlatformVariantPlatformVariantNoneSCMGitProjectAndConfigMonoidWhichSolverCmd IsInitCmd IsSolverCmdIsNewCmdConfigExceptionParseConfigFileExceptionParseCustomSnapshotExceptionParseResolverExceptionNoProjectConfigFoundUnexpectedArchiveContentsUnableToExtractArchiveBadStackVersionExceptionNoMatchingSnapshotResolverMismatchResolverPartialNoSuchDirectoryParseGHCVariantException BadStackRoot3Won'tCreateStackRootInDirectoryOwnedByDifferentUserUserDoesn'tOwnDirectory ConfigMonoidconfigMonoidStackRootconfigMonoidWorkDirconfigMonoidBuildOptsconfigMonoidDockerOptsconfigMonoidNixOptsconfigMonoidConnectionCountconfigMonoidHideTHLoadingconfigMonoidLatestSnapshotUrlconfigMonoidUrlsconfigMonoidPackageIndicesconfigMonoidSystemGHCconfigMonoidInstallGHCconfigMonoidSkipGHCCheckconfigMonoidSkipMsysconfigMonoidCompilerCheckconfigMonoidRequireStackVersionconfigMonoidArchconfigMonoidGHCVariantconfigMonoidJobsconfigMonoidExtraIncludeDirsconfigMonoidExtraLibDirsconfigMonoidOverrideGccPathconfigMonoidConcurrentTestsconfigMonoidLocalBinPathconfigMonoidImageOptsconfigMonoidTemplateParametersconfigMonoidScmInitconfigMonoidGhcOptionsconfigMonoidExtraPathconfigMonoidSetupInfoLocationsconfigMonoidPvpBoundsconfigMonoidModifyCodePageconfigMonoidExplicitSetupDepsconfigMonoidRebuildGhcOptionsconfigMonoidApplyGhcOptionsconfigMonoidAllowNewerconfigMonoidDefaultTemplateconfigMonoidAllowDifferentUserHasBuildConfiggetBuildConfig HasConfig getConfig HasGHCVariant getGHCVariant HasPlatform getPlatformgetPlatformVariant HasStackRoot getStackRootResolverThat'sResolverSnapshotResolverCompilerResolverCustomResolverCustomLoadedResolverLoadedResolverProjectprojectUserMsgprojectPackagesprojectExtraDeps projectFlagsprojectResolverprojectCompilerprojectExtraPackageDBsRemotePackageTypeRPTHttpRPTGitRPTHgPackageLocation PLFilePathPLRemoteTreatLikeExtraDep PackageEntry peExtraDep peLocation peSubdirs LoadConfiglcConfiglcLoadBuildConfig lcProjectRoot HasEnvConfig getEnvConfig EnvConfigenvConfigBuildConfigenvConfigCabalVersionenvConfigCompilerVersionenvConfigCompilerBuildenvConfigPackages BuildConfigbcConfig bcResolverbcWantedMiniBuildPlanbcPackageEntries bcExtraDepsbcExtraPackageDBs bcStackYamlbcFlagsbcImplicitGlobal bcGHCVariantAbstractResolverARLatestNightly ARLatestLTSARLatestLTSMajor ARResolverARGlobalGlobalOptsMonoidglobalMonoidReExecVersionglobalMonoidDockerEntrypointglobalMonoidLogLevelglobalMonoidConfigMonoidglobalMonoidResolverglobalMonoidCompilerglobalMonoidTerminalglobalMonoidStackYaml GlobalOptsglobalReExecVersionglobalDockerEntrypointglobalLogLevelglobalConfigMonoidglobalResolverglobalCompilerglobalTerminalglobalStackYamlEvalOptsevalArg evalExtra ExecOptsExtra ExecOptsPlainExecOptsEmbellished eoEnvSettings eoPackagesSpecialExecCmdExecCmdExecGhc ExecRunGhcExecOptseoCmdeoArgseoExtra EnvSettingsesIncludeLocalsesIncludeGhcPackagePath esStackExe esLocaleUtf8ApplyGhcOptions AGOTargets AGOLocals AGOEverythingConfigconfigStackRoot configWorkDirconfigUserConfigPath configBuild configDocker configNixconfigEnvOverrideconfigLocalProgramsBaseconfigLocalProgramsconfigConnectionCountconfigHideTHLoadingconfigPlatformconfigPlatformVariantconfigGHCVariant0 configUrlsconfigPackageIndicesconfigSystemGHCconfigInstallGHCconfigSkipGHCCheckconfigSkipMsysconfigCompilerCheckconfigLocalBinconfigRequireStackVersion configJobsconfigOverrideGccPathconfigExtraIncludeDirsconfigExtraLibDirsconfigConcurrentTests configImageconfigTemplateParams configScmInitconfigGhcOptionsconfigSetupInfoLocationsconfigPvpBoundsconfigModifyCodePageconfigExplicitSetupDepsconfigRebuildGhcOptionsconfigApplyGhcOptionsconfigAllowNewerconfigDefaultTemplateconfigAllowDifferentUserconfigPackageCachesconfigMaybeProjectdefaultLogLevelbcRoot bcWorkDirbcWantedCompilerresolverDirName resolverNamecustomResolverHashparseResolverTexttoResolverNotLoaded askConfigaskLatestSnapshotUrlconfigPackageIndexRootconfigPackageIndexRepoconfigPackageIndexCacheconfigPackageIndexconfigPackageIndexGzconfigPackageTarball getWorkDirgetProjectWorkDirconfigInstalledCacheplatformOnlyRelDir snapshotsDirinstallationRootDepsinstallationRootLocal hoogleRoothoogleDatabasePathplatformGhcRelDiruseShaPathOnWindowspackageDatabaseDepspackageDatabaseLocalpackageDatabaseExtraflagCacheLocalconfigMiniBuildPlanCache bindirSuffix docDirSuffix hpcReportDir extraBinDirsgetMinimalEnvOverrideminimalEnvSettingsgetWhichCompilergetCompilerPathghcVariantNameghcVariantSuffixparseGHCVariantcompilerBuildNamecompilerBuildSuffixparsePvpBoundsexplicitSetupDeps ghcOptionsForhaskellModuleExtsobjectInterfaceDirbuildCacheFiletestSuccessFile testBuiltFileconfigCacheFileconfigCabalMod hpcDirFromDirhpcRelativeDirdistDirFromDirworkDirFromDir templatesDirprojectDockerSandboxDirimageStagingDirstackProgNameUpper stackDotYamlstackRootEnvVarstackRootOptionNamedeprecatedStackRootOptionNameinContainerEnvVarwiredInPackagesghcjsBootPackagescabalPackageName"implicitGlobalProjectDirDeprecatedimplicitGlobalProjectDirdefaultUserConfigPathDeprecateddefaultUserConfigPath!defaultGlobalConfigPathDeprecateddefaultGlobalConfigPath buildPlanDirplatformVariantEnvVarinterpreterArgsParsergetInterpreterArgs InstalledLibrary Executable InstalledMap DotCabalPathDotCabalModulePathDotCabalMainPathDotCabalFilePathDotCabalCFilePathDotCabalDescriptorDotCabalModule DotCabalMain DotCabalFile DotCabalCFileModTime FileCacheInfo fciModTimefciSizefciHashInstalledPackageLocation InstalledTo ExtraGlobalInstallLocationSnapLocalNamedComponentCLibCExeCTestCBench LocalPackage lpPackage lpComponents lpUnbuildablelpWanted lpTestDeps lpBenchDeps lpTestBenchlpDir lpCabalFile lpForceDirty lpDirtyFileslpNewBuildCachelpFilesPackageInstallInfo piiVersion piiLocation PackageSourcePSLocal PSUpstream SourceMap PackageConfigpackageConfigEnableTestspackageConfigEnableBenchmarkspackageConfigFlagspackageConfigGhcOptionspackageConfigCompilerVersionpackageConfigPlatformPackageWarningUnlistedModulesWarningMissingModulesWarningGetPackageFilesgetPackageFiles CabalFileTypeAllFilesModules BuildInfoOptsbioOptsbioOneWordOptsbioPackageFlagsbioCabalMacrosGetPackageOptsgetPackageOptsPackage packageNamepackageVersion packageFiles packageDeps packageToolspackageAllDepspackageGhcOptions packageFlagspackageDefaultFlagspackageHasLibrary packageTestspackageBenchmarks packageExes packageOptspackageHasExposedModulespackageSimpleTypePackageExceptionPackageInvalidCabalFilePackageNoCabalFileFoundPackageMultipleCabalFilesFoundMismatchedCabalNamepackageIdentifierpackageDefinedFlagsrenderComponentrenderPkgComponentsrenderPkgComponent exeComponentstestComponentsbenchComponentsisCLibisCExeisCTestisCBench modTimeVC testSuccessVCdotCabalModule dotCabalMaindotCabalModulePathdotCabalMainPathdotCabalCFilePathdotCabalGetPathinstalledPackageIdentifierinstalledVersion$fNFDataFileCacheInfo$fStoreFileCacheInfo$fMonoidInstallLocation!$fPackageInstallInfoPackageSource $fEqPackage $fOrdPackage$fShowPackageWarning$fShowGetPackageFiles$fShowGetPackageOpts$fShowPackageException$fExceptionPackageExceptionPrecompiledCache pcLibrarypcExes ConfigureOptscoDirscoNoDirsBaseConfigOpts bcoSnapDB bcoLocalDBbcoSnapInstallRootbcoLocalInstallRoot bcoBuildOptsbcoBuildOptsCLI bcoExtraDBsPlan planTasks planFinalsplanUnregisterLocalplanInstallExesTaskTypeTTLocal TTUpstreamTaskConfigOpts tcoMissingtcoOptsTask taskProvidestaskTypetaskConfigOpts taskPresent taskAllInOne ConfigCacheconfigCacheOptsconfigCacheDepsconfigCacheComponentsconfigCacheHaddock BuildCachebuildCacheTimes UnusedFlags UFNoPackageUFFlagsNotDefined UFSnapshot FlagSource FSCommandLine FSStackYamlStackBuildExceptionCouldn'tFindPkgIdCompilerVersionMismatchCouldn'tParseTargetsUnknownTargetsTestSuiteFailureTestSuiteTypeUnsupportedConstructPlanFailedCabalExitedUnsuccessfullyExecutionFailureLocalPackageDoesn'tMatchTargetNoSetupHsFoundInvalidFlagSpecificationTargetParseExceptionDuplicateLocalPackageNames SolverGiveUpSolverMissingCabalInstallSomeTargetsNotBuildableTestSuiteExeMissingCabalCopyFailed buildCacheVC configCacheVC taskLocation configureOpts isStackOptwantedLocalPackagesmodTimeprecompiledCacheVC NeedTargetsAllowNoTargets SimpleTarget STUnknown STNonLocal STLocalComps STLocalAllLocalPackageView lpvVersionlpvRoot lpvCabalFP lpvComponents lpvExtraDep RawTargetRTPackageComponent RTComponent RTPackageRTPackageIdentifierUnresolvedComponentResolvedComponent ComponentNameparseRawTarget parseTargets getGlobalDBcreateDatabase ghcPkgExeNamefindGhcPkgFieldunregisterGhcPkgIdgetCabalPkgVermkGhcPackagePathLine DumpPackage dpGhcPkgIddpPackageIdent dpLibDirs dpLibrariesdpHasExposedModules dpDependsdpHaddockInterfaces dpHaddockHtml dpProfiling dpHaddock dpIsExposed ghcPkgDumpghcPkgDescribenewInstalledCacheloadInstalledCachesaveInstalledCache pruneDeps sinkMatching addProfiling addHaddockconduitDumpPackage eachSectioneachPairopenHaddocksInBrowsershouldHaddockPackageshouldHaddockDepsgenerateLocalHaddockIndexgenerateDepsHaddockIndexgenerateSnapHaddockIndex HasSticky getStickyStickyunStickyHasSupportsUnicodegetSupportsUnicode HasReExec getReExec HasTerminal getTerminalgetAnsiTerminal HasLogLevel getLogLevelEnv envConfig envLogLevel envTerminalenvAnsiTerminal envReExec envManager envStickyenvSupportsUnicode envEnvConfigbuildOptsMonoidHaddockbuildOptsMonoidTestsbuildOptsMonoidBenchmarksbuildOptsMonoidInstallExesbuildOptsInstallExesenvConfigBuildOptsglobalOptsBuildOptsMonoid$fHasStickyEnv$fHasSupportsUnicodeEnv$fHasReExecEnv$fHasTerminalEnv$fHasLogLevelLogLevel$fHasLogLevelEnv$fHasHttpManagerEnv$fHasEnvConfigEnv$fHasBuildConfigEnv$fHasConfigEnv$fHasGHCVariantEnv$fHasPlatformEnv$fHasStackRootEnvdisplayAnsiIfPossible prettyDebug prettyInfo prettyWarn prettyErrorerrorRed goodGreen shellMagentadisplayTargetPkgIddisplayCurrentPkgIddisplayErrorPkgIdgetInstalledExesmarkExeInstalledmarkExeNotInstalledtryGetBuildCachetryGetConfigCachetryGetCabalModwriteBuildCachewriteConfigCache writeCabalMod deleteCachestryGetFlagCachewriteFlagCachesetTestSuccessunsetTestSuccesscheckTestSuccesswritePrecompiledCachereadPrecompiledCacheGetInstalledOptsgetInstalledProfilinggetInstalledHaddock getInstalledreadPackageUnresolvedreadPackageUnresolvedBS readPackage readPackageBSreadPackageDescriptionDirreadDotBuildinfoprintCabalFileWarningcheckCabalFileNameresolvePackagepackageFromPackageDescription autogenDirpackageDependenciespackageToolDependenciesresolvePackageDescriptionfindOrGenerateCabalFilehpack buildLogPathcabalFilePackageId StackLoggingTStackTrunStackTGlobal runStackTrunInnerStackTrunInnerStackLoggingTrunStackLoggingTGlobalrunStackLoggingT newTLSManager logSticky logStickyDonebuildOptsFromMonoidhaddockOptsFromMonoidtestOptsFromMonoidbenchmarkOptsFromMonoidStackDockerConfigExceptionResolverNotSupportedExceptionInvalidDatabasePathExceptiondockerOptsFromMonoid $fShowStackDockerConfigException%$fExceptionStackDockerConfigExceptionstageContainerImageArtifactscreateContainerImageFromStage imgCmdNameimgDockerCmdNameimgOptsFromMonoidDockerImageLastUsedDockerImageExeIdDockerImageProjectIdupdateDockerImageLastUsedgetDockerImagesLastUsedpruneDockerImagesLastUsedgetDockerImageExesetDockerImageExedefaultEnvSettingsplainEnvSettingsexec execSpawn execObserveNewOptsnewOptsProjectNamenewOptsCreateBarenewOptsTemplatenewOptsNonceParamsnew listTemplates getTemplatesdefaultTemplateNamereexecWithOptionalShell nixCmdNamenixHelpOptNamepath pathParserUploadSettingsUploaderFromFileHackageCredsSource HackageCreds loadCreds saveCreds fromPromptfromFile fromMemory fromAnywhere nopUploader mkUploaderupload uploadBytesdefaultUploadSettings setUploadUrl setGetManagersetCredsSource setSaveCredsupdateAllIndicesgetPackageVersionsIOgetPackageVersionslookupPackageVersionsgetPackageCachesIOgetPackageCachesResolvedPackagerpCacherpIndex rpGitSHA1 fetchPackagesunpackPackagesunpackPackageIdentsresolvePackagesresolvePackagesAllowMissingwithCabalFileswithCabalLoaderuntarBuildPlanCheckBuildPlanCheckOkBuildPlanCheckPartialBuildPlanCheckFailDepError deVersion deNeededBy DepErrorsBuildPlanExceptionUnknownPackagesSnapshotNotFoundFilepathInDownloadedSnapshot"NeitherCompilerOrResolverSpecifiedresolveBuildPlan getToolMap loadResolverloadMiniBuildPlan gpdPackagesgpdPackageNamegpdPackageDepsremoveSrcPkgDefaultFlagscheckSnapBuildPlanselectBestSnapshot showItemsshowPackageFlagsshadowMiniBuildPlanparseCustomMiniBuildPlan getLocalFlags getGhcOptionsparseTargetsFromBuildOptsparseTargetsFromBuildOptsWithgetLocalPackageViewsaddUnlistedToBuildCachegetDefaultPackageConfiggetPackageConfig constructPlan HpcReportOpts hroptsInputs hroptsAll hroptsDestDirdeleteHpcReports updateTixFilegenerateHpcReportgenerateHpcReportForTargetsgenerateHpcUnifiedReportgenerateHpcMarkupIndexStackCleanExceptionNonLocalPackages CleanOpts CleanShallow CleanFullclean listPackages listTargets MiniConfiggetImplicitGlobalProjectDir getSnapshotsmakeConcreteResolverloadMiniConfigloadConfigMaybeProjectresolvePackageEntrycheckOwnershipgetInContainerpackagesParser ConfigCmdSetConfigCmdSetResolver cfgCmdSet cfgCmdName cfgCmdSetName ExtraDirsedBins edIncludeedLibTool ToolGhcjs toolStringtoolNameString parseToolText markInstalledunmarkInstalled listInstalledgetCompilerVersion extraDirs installDirtempInstallDirsign signTarBytes signPackage ActionContext acRemainingActionactionId actionDepsactionDoActionId ActionTypeATBuild ATBuildFinalATFinal runActions ExecuteEnvpreFetch printPlanwithExecuteEnv executePlanwithSingleContextCabalVersionExceptionunCabalVersionExceptionbuildsplitObjsWarningmkBaseConfigOptswithLoadPackagequeryBuildInfo SetupOptssoptsInstallIfMissingsoptsUseSystemsoptsWantedCompilersoptsCompilerChecksoptsStackYamlsoptsForceReinstallsoptsSanityChecksoptsSkipGhcCheck soptsSkipMsyssoptsUpgradeCabalsoptsResolveMissingGHCsoptsStackSetupYamlsoptsGHCBindistURLdefaultStackSetupYamlsetupEnvensureCompilerensureDockerStackExegetSystemCompilerremoveHaskellEnvVars CleanupActionCleanupInteractiveCleanupImmediate CleanupDryRun CleanupOptsdcAction"dcRemoveKnownImagesLastUsedDaysAgo#dcRemoveUnknownImagesCreatedDaysAgo$dcRemoveDanglingImagesCreatedDaysAgo'dcRemoveStoppedContainersCreatedDaysAgo'dcRemoveRunningContainersCreatedDaysAgoreexecWithOptionalContainerpreventInContainercleanuppullreset entrypointloadCompilerVersionwithUserFileLockwithConfigAndLockwithGlobalConfigAndLockwithBuildConfigwithBuildConfigAndLockwithBuildConfigExtloadConfigWithOptswithMiniConfigAndLock munlockFileparseCabalOutputLinemergeConstraintssolveResolverSpecgetResolverConstraintscheckResolverSpecfindCabalFilescabalPackagesChecksolveExtraDepsInitOpts searchDirs useSolver omitPackagesforceOverwriteincludeSubDirs initProject SetupCmdOptsscoCompilerVersionscoForceReinstallscoUpgradeCabalscoStackSetupYamlscoGHCBindistURL setupParsersetupDotOptsdotIncludeExternaldotIncludeBasedotDependencyDepthdotPrunedotlistDependencies pruneGraphresolveDependencies printGraph GhciExceptionInvalidPackageOptionLoadingDuplicateModules GhciPkgInfo ghciPkgName ghciPkgOpts ghciPkgDirghciPkgModulesghciPkgModFiles ghciPkgCFiles ghciPkgMainIsghciPkgPackageGhciOpts ghciNoBuildghciArgsghciGhcCommandghciNoLoadModulesghciAdditionalPackages ghciMainIsghciLoadLocalDepsghciSkipIntermediateghciHidePackagesghciBuildOptsCLIghcirenderScriptGhcirenderScriptIntero ghciSetup hoogleCmdGlobalOptsContextOuterGlobalOptsOtherCmdGlobalOptsBuildCmdGlobalOptsbenchOptsParserbuildOptsParsercleanOptsParserconfigOptsParser nixOptsParserdockerOptsParserdockerCleanupOptsParser dotOptsParserghciOptsParserexecOptsParserevalOptsParserglobalOptsParserglobalOptsFromMonoidinitOptsParserlogLevelOptsParsersolverOptsParserhaddockOptsParsertestOptsParser newOptsParserhpcReportOptsParserpvpBoundsOptionconfigCmdSetParserupgradegetSDistTarballcheckSDistTarballcheckSDistTarball'SGRTagTagResetTagConsoleIntensity TagItalicizedTagUnderlining TagBlinkSpeed TagVisibleTagSwapForegroundBackgroundTagColorForegroundTagColorBackground EndoAnsiDocdisplayAnsiSimpledisplayDecoratedWrapcolorFunctionsansiAnn getSGRTag$fHasAnsiAnn()$fHasAnsiAnnAnsiAnn $fDisplayDoc $fMonoidDoc quoteFileName GhciCommandAddAddFileCdGhcModule unGhciScriptfromTextcommandToBuilder$fMonoidGhciScript fileWatchConforElse$fExceptionEditorException$fShowEditorException$fExceptionPagerException$fShowPagerExceptiontimeSpecMilliSecondTextcatchIObindirlibdirdatadir libexecdir sysconfdir findPathUppath_3myp4Z3jNXg1cO5rNj0Ng0PathparentbaseGHC.BaseJust isSymLink parseAbsDir parseAbsFilecollapseFilePathMaybeNothingpathi_9CKia6YgP1kG3CceZu0y3IPath.IOforgivingAbsence resolveFilecanonicalizePathbytes_6VWy06pWzJq9evDvK2d4w6Data.ByteString.Internalcondu_JdeDIbfFlF2LFouNeugyxhData.Conduit.Internal.ConduitSink PathExceptionPathsInvalidInPath$fShowPathException$fExceptionPathException$fExceptionReadProcessException$fShowReadProcessException System.ExitexitWithGHC.IO.Handle.TypesHandleSystem.Process.Internals UseHandlecmdToCreateProcess addCommand' helpOptionoptpa_D3Inb2AoXhaFSt8wUyCCSLOptions.Applicative.ExtrahandleParseResult hsubparser'ghc-prim GHC.TypesBool<|> Data.MonoidFirstOptions.Applicative.Builder abortOptionoptiontext_HmqVQnZSpjaC156ABqPhneData.Text.InternalTextargumentControl.Applicativeoptional eitherReaderGHC.ShowShow Data.EitherLeft sinkCheckHash sinkHashUsinghashChecksToZipSinkVerifyFileException WrongFileSizedisplayByteStringdisplayCheckHexDigestassertLengthSink$fExceptionVerifyFileException$$fExceptionVerifiedDownloadException$fShowVerifiedDownloadException$fIsStringCheckHexDigestaeson_33XPr26G7eRCQzR9rt6W5qData.Aeson.Types.Instances.!=Data.Aeson.Types.Class toEncodingtoJSONToJSON parseJSONFromJSON.=Data.Aeson.Types.Internalobject parseEither parseMaybeParserObjectArrayNullNumberStringValueyaml_DSpC3m8HMd100CiWxWODsP Data.Yaml parseMonadarray decodeEither' decodeEither decodeFiledecodeencodeData.Yaml.Internal decodeHelperprettyPrintParseExceptionCyclicIncludesNonStringKeyAliasOtherParseExceptionAesonException InvalidYaml _expected _receivedUnexpectedEvent _anchorName UnknownAlias NonScalarKeyParseException Text.Libyaml yamlColumnyamlLine yamlIndexYamlMarkyamlProblemMark yamlContext yamlProblemYamlParseException YamlExceptionstoreEncodeFileversionedDecodeOrLoadImplversionedDecodeFileImplmappend<>getDualDualappEndoEndogetAllAllgetAnyAnygetSumSum getProductProductgetFirstgetLastLastgetAltAltmconcatmemptyMonoid Data.MaybemapMaybe GHC.Classes==flipWarningParserMonoid withObjectwpmExpectedFields wpmWarnings$fShowJSONWarning$fMonoidWithJSONWarnings$fFunctorWithJSONWarnings$fMonoidWarningParserMonoid Data.AesoneitherDecodeStrict' eitherDecode'eitherDecodeStrict eitherDecode decodeStrict'decode' decodeStrictData.Aeson.Parser.Internaljson'json.:!fromJSONwithBoolwithScientific withNumber withArraywithTextData.Aeson.Encode.FunctionspairsfoldablegenericParseJSONgenericToEncoding genericToJSONgToJSONGToJSON gToEncoding GToEncoding gParseJSON GFromJSONKeyValuedefaultOptionsSuccessErrorResult fromEncodingEncodingSeriesfromDotNetTime DotNetTimeTrueFalseManager$fExceptionDownloadException $fToJSONMap$fFromJSONFlagName$fShowFlagName$fLiftFlagName $fOrdFlagName $fEqFlagName$fShowFlagNameParseFail$fExceptionFlagNameParseFail$fFromJSONPackageName$fToJSONPackageName$fShowPackageName$fLiftPackageName$fShowPackageNameParseFail$fExceptionPackageNameParseFailAeson_unAesonhexText$fShowSigException$fExceptionSigException$fFromJSONAeson$fIsStringFingerprint$fToJSONFingerprint$fFromJSONFingerprint$fShowFingerprint$fShowSignaturegpg gpgWarnTTYVersionParseFail unVersion$fFromJSONVersionCheck$fToJSONVersionCheck $fMonoidIntersectingVersionRange$fFromJSONVersion$fToJSONVersion $fShowVersion $fLiftVersion$fHashableVersion$fShowVersionParseFail$fExceptionVersionParseFailBuildPlanTypesExceptionParseSnapNameExceptionParseFailedException simpleParsetestStateToText compToText$fNFDataMiniPackageInfo$fStoreMiniPackageInfo$fNFDataMiniBuildPlan$fStoreMiniBuildPlan$fFromJSONSnapshots$fFromJSONComponent$fToJSONComponent$fFromJSONDepInfo$fToJSONDepInfo$fMonoidDepInfo$fFromJSONSimpleDesc$fToJSONSimpleDesc$fMonoidSimpleDesc$fFromJSONExeName$fToJSONExeName$fFromJSONSystemInfo$fToJSONSystemInfo$fFromJSONTestState$fToJSONTestState$fFromJSONPackageConstraints$fToJSONPackageConstraints$fShowBuildPlanTypesException"$fExceptionBuildPlanTypesException$fFromJSONCabalFileInfo$fToJSONCabalFileInfo$fFromJSONPackagePlan$fToJSONPackagePlan$fFromJSONBuildPlan$fToJSONBuildPlanGhcPkgIdParseFail$fToJSONGhcPkgId$fFromJSONGhcPkgId$fShowGhcPkgId$fStoreGhcPkgId$fHasStructuralInfoGhcPkgId$fNFDataGhcPkgId$fBinaryGhcPkgId$fHashableGhcPkgId$fExceptionGhcPkgIdParseFail$fShowGhcPkgIdParseFail$fShowStackNixException$fExceptionStackNixExceptionbuildMonoidLibProfileArgNamebuildMonoidExeProfileArgNamebuildMonoidHaddockArgNamebuildMonoidHaddockOptsArgNamebuildMonoidOpenHaddocksArgNamebuildMonoidHaddockDepsArgNamebuildMonoidInstallExesArgNamebuildMonoidPreFetchArgNamebuildMonoidKeepGoingArgNamebuildMonoidForceDirtyArgNamebuildMonoidTestsArgNamebuildMonoidTestOptsArgNamebuildMonoidBenchmarksArgNamebuildMonoidBenchmarkOptsArgNamebuildMonoidReconfigureArgNamebuildMonoidCabalVerboseArgNamebuildMonoidSplitObjsNametoMonoidRerunTestsArgNametoMonoidAdditionalArgsNametoMonoidCoverageArgNametoMonoidDisableRunArgNamehoMonoidAdditionalArgsNamebeoMonoidAdditionalArgsArgNamebeoMonoidDisableRunArgName$fMonoidBenchmarkOptsMonoid$fMonoidHaddockOptsMonoid$fMonoidTestOptsMonoid$fFromJSONWithJSONWarnings1$fMonoidBuildOptsMonoid$fFromJSONWithJSONWarnings2PackageIdentifierParseFail$fFromJSONPackageIdentifier$fToJSONPackageIdentifier$fShowPackageIdentifier$fStorePackageIdentifier$fHashablePackageIdentifier$fNFDataPackageIdentifier%$fExceptionPackageIdentifierParseFail $fShowPackageIdentifierParseFail$fStoreInstalledCacheEntry$fFromJSONIndexName$fToJSONIndexName$fFromJSONPackageDownload$fNFDataPackageDownload$fStorePackageDownload$fNFDataPackageCache$fStorePackageCacheparseConfigMonoidJSONplatformSnapAndCompilerRelplatformGhcVerOnlyRelDirplatformGhcVerOnlyRelDirStrpackageEntryCurrDirplatformVariantSuffixparseDownloadInfoFromObject$fMonoidSetupInfoIsLoadedLoaded NotLoadedconfigMonoidWorkDirNameconfigMonoidBuildOptsNameconfigMonoidDockerOptsNameconfigMonoidNixOptsNameconfigMonoidConnectionCountNameconfigMonoidHideTHLoadingName!configMonoidLatestSnapshotUrlNameconfigMonoidUrlsNameconfigMonoidPackageIndicesNameconfigMonoidSystemGHCNameconfigMonoidInstallGHCNameconfigMonoidSkipGHCCheckNameconfigMonoidSkipMsysName#configMonoidRequireStackVersionNameconfigMonoidArchNameconfigMonoidGHCVariantNameconfigMonoidJobsName configMonoidExtraIncludeDirsNameconfigMonoidExtraLibDirsNameconfigMonoidOverrideGccPathNameconfigMonoidConcurrentTestsNameconfigMonoidLocalBinPathNameconfigMonoidImageOptsNameconfigMonoidScmInitName"configMonoidTemplateParametersNameconfigMonoidCompilerCheckNameconfigMonoidGhcOptionsNameconfigMonoidExtraPathName"configMonoidSetupInfoLocationsNameconfigMonoidPvpBoundsNameconfigMonoidModifyCodePageName!configMonoidExplicitSetupDepsName!configMonoidRebuildGhcOptionsNameconfigMonoidApplyGhcOptionsNameconfigMonoidAllowNewerNameconfigMonoidDefaultTemplateName"configMonoidAllowDifferentUserName showOptionscompilerVersionDir pvpBoundsText$fMonoidPackageFlags$fToJSONPackageFlags$fFromJSONPackageFlags$fMonoidGhcOptions$fFromJSONGhcOptions$fFromJSONPvpBounds$fToJSONPvpBounds$fFromJSONWithJSONWarnings3$fFromJSONGHCVariant $fToJSONSCM $fFromJSONSCM$fFromJSONWithJSONWarnings4$fExceptionConfigException$fShowConfigException$fFromJSONWithJSONWarnings5$fMonoidConfigMonoid$fHasBuildConfigBuildConfig$fHasConfigBuildConfig$fHasGHCVariantBuildConfig$fHasPlatformBuildConfig$fHasStackRootBuildConfig$fHasConfigConfig$fHasPlatformConfig$fHasStackRootConfig$fHasGHCVariantGHCVariant$fHasPlatform(,)$fFromJSONWithJSONWarnings6$fToJSONResolverThat's$fToJSONProject$fFromJSONWithJSONWarnings7$fToJSONPackageLocation$fFromJSONWithJSONWarnings8$fToJSONPackageEntry$fHasEnvConfigEnvConfig$fHasStackRootEnvConfig$fHasGHCVariantEnvConfig$fHasPlatformEnvConfig$fHasConfigEnvConfig$fHasBuildConfigEnvConfig$fMonoidGlobalOptsMonoid$fFromJSONApplyGhcOptionshaskellFileExtshaskellPreprocessorExts PkgDepsOracleconfigureOptsNoDirPkgDepsmissingExeErrorconfigureOptsDirs$fNFDataPrecompiledCache$fStorePrecompiledCache#$fHasStructuralInfoPrecompiledCache$$fHasSemanticVersionPrecompiledCache$fBinaryPrecompiledCache$fNFDataConfigureOpts$fStoreConfigureOpts$fShowTaskConfigOpts$fNFDataConfigCache$fStoreConfigCache$fStoreBuildCache$fNFDataBuildCache$fExceptionStackBuildException$fShowStackBuildExceptionparseRawTargetDirs RawTargetType HasIdentsNoIdentsRawInput unRawInput resolveIdentsresolveRawTarget isCompNamedsimplifyTargetsghcPkgpackageDbFlagsfindGhcPkgVersion ghcPkgCmdArgs takeWhileCPackageDumpExceptionMissingSingleFieldCouldn'tParseField isProfilingstripPrefixTextstripSuffixText$fShowPackageDumpException$fExceptionPackageDumpExceptiongenerateHaddockIndexlookupDumpPackagehaddockIndexFile localDocDirlocalDepsDocDir snapDocDir $fDisplayPath$fDisplayPath0$fDisplayVersion$fDisplayPackageIdentifier$fDisplayPackageNameexeInstalledDirprecompiledCacheFilebinaryDecodeFileOrFailDeep BinarySchema flagCacheFile loadDatabase isAllowed LoadHelperlhIdlhDepslhPairAllowedNeedsProfiling NeedsHaddock UnknownPkg WrongLocation WrongVersionMprocessLoadResult toLoadHelpertoPackageLocationDistribution.PackageDescriptionGenericPackageDescriptionPackageDescriptiongeneratePkgDescOptsgenerateBuildInfoOptsmakeObjectFilePathFromCfileGenDirFromComponentNamebuildDirgetBuildComponentDirpackageDescTools allBuildInfo'packageDescModulesAndFilesresolveGlobFilesmatchDirFileGlob_benchmarkFiles testFilesexecutableFiles libraryFilesbuildOtherSourcestargetJsSourcesflagMapmkResolveConditionsresolveConditionsdepNamedepRangeresolveFilesAndDepsgetDependencies parseDumpHI resolveFiles findCandidate warnMultiplelogPossibilitiesexcep_6lgwjdgwblY7rzh5s6SLd8Control.Monad.CatchthrowMresolveFileOrWarnresolveDirOrWarnResolveConditionsrcFlagsrcCompilerVersionrcOSrcArchBioInput biSourceMapbiInstalledMap biCabalMacros biCabalDir biDistDirbiOmitPackages biAddPackages biBuildInfobiDotCabalPathsbiConfigLibDirsbiConfigIncludeDirsbiComponentName resolveOrWarn LoggingEnvgetCanUseUnicodereplaceUnicode loggerFunctimestampLength withSticky$fMonadLoggerStackLoggingT$fMonadLoggerStackTunStackLoggingT lenvLogLevel lenvTerminallenvAnsiTerminal lenvReExec lenvManager lenvStickylenvSupportsUnicodeunStackTstickyLoggerFuncgetStickyLoggerFuncstickyLoggerFuncImpl$fHasSupportsUnicodeLoggingEnv$fHasReExecLoggingEnv$fHasTerminalLoggingEnv$fHasHttpManagerLoggingEnv$fHasLogLevelLoggingEnv$fHasStickyLoggingEnv $fMonadTransControlStackLoggingT $fMonadBaseControlbStackLoggingT$fMonadLoggerIOStackT$fMonadTransControlStackT$fMonadBaseControlbStackTStackImageException(StackImageDockerBaseUnspecifiedException-StackImageCannotDetermineProjectRootExceptionstageExesInDirsyncAddContentToDir imageNamecreateDockerImageextendDockerImageWithEntrypointfromMaybeProjectRootAssemble filterImages$fShowStackImageException$fExceptionStackImageException withGlobalDBDockerImageExedockerImageExeImageHashdockerImageExeExePathdockerImageExeExeTimestampdockerImageExeCompatibleDockerImageProjectdockerImageProjectImageHashdockerImageProjectProjectPathdockerImageProjectLastUsedTimeDockerImageExeUniqueDockerImageExeKeyunDockerImageExeKeyDockerImageExeImageHashDockerImageExeExePathDockerImageExeExeTimestampDockerImageExeCompatibleDockerImageProjectPathKeyDockerImageProjectKeyunDockerImageProjectKeyDockerImageProjectImageHashDockerImageProjectProjectPathDockerImageProjectLastUsedTime migrateTables)TFCo:R:PersistEntityBackendDockerImageExeGHC.IO.ExceptionExitCode NewException loadTemplate applyTemplatecheckForOverwritewriteTemplateFilesrunTemplateInitsparseTemplateSetdefaultTemplateUrldefaultTemplateInfoUrldefaultTemplatesListFailedToLoadTemplateFailedToDownloadTemplateFailedToDownloadTemplatesBadTemplatesResponseBadTemplatesJSON AlreadyExistsMissingParametersInvalidTemplateAttemptedOverwritesFailedToDownloadTemplateInfoBadTemplateInfoBadTemplateInfoResponse TemplateFrom LocalTemp RemoteTempgetTemplateInfo addHeaders$fShowNewException$fExceptionNewExceptionCannotDetermineProjectRootescape getInShell inShellEnvVarrunShellAndExitPathInfopaths piBuildConfig piEnvOverridepiSnapDb piLocalDb piGlobalDb piSnapRoot piLocalRoot piDistDirpiHpcDir piExtraDbs piCompilerdeprecatedPathKeyspromptPassword usUploadUrl usGetManager usCredsSource usSaveCredsupload_HackageCredsExceptionsCouldn'tParseJSONgetCreds hcUsername hcPassword credsFile printBodyhandleIO!$fExceptionHackageCredsExceptions$fFromJSONHackageCreds$fToJSONHackageCreds populateCache requireIndex updateIndexupdateIndexGitupdateIndexHTTPisGitInstalled deleteCacheIOclearPackageCachesentrySizeInBlocksPackageIndexExceptionGitNotAvailableMissingRequiredHashes$fShowPackageIndexException $fExceptionPackageIndexExceptiontfCabalfuzzyLookupCandidatestypoCorrectionCandidates getToFetchfetchPackages' ToFetchResult tfrToFetchtfrAlreadyUnpackedToFetch tfTarball tfDestDirtfUrltfSizetfSHA512FetchExceptionCouldn'tReadIndexTarballCouldn'tReadPackageTarballUnpackDirectoryAlreadyExistsCouldNotParsePackageSelectorsUnknownPackageNamesUnknownPackageIdentifiers PackageCacheslookupPackageIdentifierExactparMapM_damerauLevenshtein orSeparatedcommaSeparated$fShowFetchException$fExceptionFetchException rsVisitedaddDepsgetDepsbuildPlanFixes loadBuildPlanselectPackageBuildPlancheckPackageBuildPlancheckPackageDepscombineDepErrorcheckBundleBuildPlancompareBuildPlanCheck ResolveState rsUnknown rsShadowed rsToInstallrsUsedBytoMiniBuildPlanbuildBuildPlanUrlshowMapPackagesshowCompilerErrors showDepErrorsapplyCustomSnapshot$fShowBuildPlanCheck$fShowBuildPlanException$fExceptionBuildPlanExceptionconvertSnapshotToExtracheckDuplicateNamesloadLocalPackagecheckFlagsUsedextendExtraDepscheckBuildCachegetPackageFilesSimplegetModTimeMaybecalcFcisplitComponentscheckComponentsBuildabledpLength dpNameLengthdpPath BadDependencyLatestApplicableVersionUnknownPackagewInstallwDirtywDeps wWarningswParentsmkUnregisterLocalpackageDepsWithTools stripLocals inSnapshotgetShortestDepsPathwanted MonoidMapDepsPathNotInBuildPlanCouldn'tResolveItsDependenciesDependencyMismatchConstructPlanExceptionDependencyCycleDetectedDependencyPlanFailures ToolWarning NoToolFoundAmbiguousToolsFoundCtxmbpbaseConfigOpts loadPackage combinedMaptoolToPackages ctxEnvConfig callStack extraToBuild getVersions localNameslogFuncWwFinals ParentMap AddDepRes ADRToInstallADRFound CombinedMap PackageInfoPIOnlyInstalled PIOnlySourcePIBothcombineSourceInstalled combineMapaddFinaladdDeptellExecutablestellExecutablesUpstreamtellExecutablesPackageinstallPackageresolveDepsAndInstallinstallPackageGivenDeps addEllipsisaddPackageDepscheckDirtinessdescribeConfigDiff psForceDirtypsDirtypsLocal isNoToolFoundtoolWarningText stripNonDeps markAsDeppprintExceptions startDepsPathextendDepsPath$fMonoidMonoidMap$fHasEnvConfigCtx$fHasBuildConfigCtx$fHasConfigCtx$fHasGHCVariantCtx$fHasPlatformCtx$fHasStackRootCtx $fMonoidW hpcPkgPath tixFilePathremoveExeModulesGHC.Real/generateHpcReportInternalgenerateUnionReport readTixOrLog unionTixesgenerateHpcErrorReport pathToHtmlsanitize dirnameStringfindPackageFieldForBuiltPackage dirsToDelete$fExceptionStackCleanException$fShowStackCleanExceptiontryDeprecatedPathgetLatestResolvergetWindowsProgsDirloadBuildConfigresolvePackageLocationdetermineStackRootAndOwnershipgetDirAndOwnership isOwnedByUsergetExtraConfigsloadConfigYamlloadYamlgetProjectConfigloadProjectConfiggetDefaultGlobalConfigPathgetDefaultUserConfigPathconfigFromConfigMonoid$fHasGHCVariantMiniConfig$fHasPlatformMiniConfig$fHasHttpManagerMiniConfig$fHasStackRootMiniConfig$fHasConfigMiniConfig$fMonoidExtraDirsExecuteExceptionInconsistentDependencies ExecuteState esActions esExceptions esInAction esCompleted esFinalLock esKeepGoing runActions'$fShowExecuteException$fExceptionExecuteException eeSetupHs eeSetupExe displayTask getSetupExewindowsRenameCopy executePlan'getConfigCache ensureConfigcheckForUnlistedFiles depsPresentmungeBuildOutput getSetupHsaddGlobalPackages eeEnvOverrideeeConfigureLock eeInstallLock eeBuildOptseeBuildOptsCLIeeBaseConfigOpts eeGhcPkgIds eeTempDir eeCabalPkgVer eeTotalWantedeeWantedeeLocals eeGlobalDBeeGlobalDumpPkgseeSnapshotDumpPkgseeLocalDumpPkgs toActions announceTask singleBuild singleTest singleBenchextraBuildOptionsprimaryComponentOptions exesToBuildfinalComponentOptionstaskComponentsallLocal/warnIfExecutablesWithSameNameCouldBeOverwritten fixCodePage rawBuildInfocheckCabalVersionwarnAboutSplitObjs $fExceptionCabalVersionException$fShowCabalVersionException addIncludeLib getGhcBuild upgradeCabal getSetupInfocheckDependencieswithUnpackedTarball7zsetup7zbytesfmt sanityCheckgetUtf8EnvVarsCheckDependency ArchiveTypeTarBz2TarXzTarGzSevenZSetupExceptionUnsupportedSetupComboMissingDependenciesUnknownCompilerVersion UnknownOSKeyGHCSanityCheckCompileFailedWantedMustBeGHCRequireCustomGHCVariantProblemWhileDecompressingSetupInfoMissingSevenzGHCJSRequiresStandardVariantGHCJSNotBootedDockerStackExeNotFoundgetInstalledToolgetInstalledGhcjsdownloadAndInstallTooldownloadAndInstallCompilergetWantedCompilerInfo getGhcKeygetOSKeydownloadFromInfoinstallGHCPosix installGHCJSinstallDockerStackExeensureGhcjsBooted bootGhcjsloadGhcjsEnvConfiggetCabalInstallVersioncheckDependencyinstallGHCWindowsinstallMsys2WindowsexpectSingleUnpackedDirchattyDownloadchunksOverTime$fAlternativeCheckDependency$fApplicativeCheckDependency$fShowSetupException$fExceptionSetupException GetCmdArgs ImageConfigInspectexecWithOptionalContainerrunContainerAndExitinspectinspects pullImagecheckDockerVersionentrypointMVarremoveDirectoryContentsreadDockerProcess homeDirName hostBinDir decodeUtf8concatToldSandboxIdEnvVar$fFromJSONImageConfig$fFromJSONInspecticEnv icEntrypointiiConfig iiCreatediiId iiVirtualSize ignoredDirsConstraintSpecConstraintType Constraint Preference cabalSolvergetCabalConfig setupCompiler setupCabalEnv formatGroupreportMissingCabalFiles prettyPathrenderStackYamlgetDefaultResolver getSnapshots'getWorkingResolverPlancheckBundleResolvergetRecommendedSnapshotscreateDependencyGraphpruneUnreachablecreateDepLoaderlocalDependenciesprintLocalNodes printLeaves printEdges printEdgenodeName printLeaf isWiredInfigureOutMainFilemakeGhciPkgInfowriteMacrosFilewriteGhciScriptfindOwningPackageForMainwantedPackageComponentscheckForIssuesborderedWarningcheckForDuplicateModulesgetExtraLoadDepspreprocessCabalMacrossetScriptPerms$fShowGhciException$fExceptionGhciExceptionreadFlagexecOptsExtraParserabstractResolverOptsParserghcVariantParserhideModsbuildOptsMonoidParserreadAbstractResolvercompilerOptsParserreadCompilerVersionCheckExceptionGHC.IOFilePath getCabalLbs gtraverseTreadLocalPackagegetSDistFileListnormalizeTarballPaths normalizePath dirsFromFileswithTempTarGzContents packFileEntry getModTime$fShowCheckException$fExceptionCheckException