r      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOP Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m nopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                        !!!!!!!!!!!!!!!!!!!!!!!!"""""""""""""### # # # # ################### #!#"###$#%#&#'#(#)#*#+#,#-#.#/#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*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&0'0(0)0*0+1,1-1.1/102122232425262728292:2;2<2=2>2?2@3A3B3C3D3E3F4G4H4I4J4K4L4M4N4O4P4Q5R5S5T5U5V5W5X5Y5Z5[5\5]5^5_5`5a5b5c5d5e5f5g5h5i5j6k6l6m6n6o6p6q7r8s8t8u8v8w8x8y8z8{8|8}9~99999:::;<<<<<<====>>>>>???????????@@@@@AAAABBBBBBBBBBCCCCCCCCCCCCCCCCCDDEEEFFFFFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGHHHHHHIIIIIIIIJJJJJJJJJJJJJJ J J J J JJJKKKKKKKKKKKKKKKK K!K"K#K$K%K&K'K(K)K*K+K,K-K.K/K0K1K2K3K4K5K6K7K8K9K:L;L<L=M>M?M@MAMBMCMDNENFNGNHNINJNKNLOMONOOOPOQOROSOTOUOVOWPXPYPZP[P\P]P^P_P`PaPbPcPdPePfPgPhPiPjPkPlPmPnPoPpPqPrQsQtQuRvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRSTTTVNoneFPrint 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.Safe+IN Exception running editor.Exception running pager.ARun pager, providing a function that writes to the pager's input.'Run pager to display a lazy ByteString.*Run pager to display a ByteString-Builder.(Run pager to display contents of a file.Run pager to display a string.Run editor to edit a file.DRun editor, providing functions to write and read the file contents.Run editor on a ByteString. Run editor on a String.Short-circuit first Just.    None!=Log running a process with its arguments, for debugging (-v)."=Log running a process with its arguments, for debugging (-v).#rShow a process arg including speechmarks when necessary. Just for debugging purposes, not functionally important.!"#!"#!"#!"#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)/"" or ".exe", depending on the platform1&Get the environment variables from an ).2&Get the list of directories searched (PATH).3'Modify the environment variables of an ).4 Create a new ).5Helper conversion function.6+Read from the process, ignoring any output.7sRun the given command in the given directory. If it exits with anything but success, print an error and then call  to exit the program.8Try to produce a strict  from the stdout of a process.9Produce 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.<:Consume the stdout and stderr of a process feeding strict s to the consumers.>cPerform pre-call-process tasks. Ensure the working directory exists and find the executable path.?7Check if the given executable exists on the given PATH.@*Find the complete path for the executable. Throws a $ if unsuccessful.A Load up an ) from the standard environment.BAAugment the PATH environment variable with the given extra paths.CApply B$ on the PATH value in the given Map.&$%&'()*+,-./0123456Optional working directoryCommandCommand line arguments7Directory to run inCommand to runCommand line arguments!Optional additional error message8Optional directory to run inCommandCommand line arguments9Optional directory to run inCommandCommand line arguments:Optional directory to run inCommandCommand line argumentsSink for stdout;<Optional directory to run inCommandCommand line argumentsSink for stderrSink for stdout=Optional directory to run inCommandCommand line arguments>)Optional directory to create if necessaryHow to override environment Command name?How to override environmentName of executable@How to override environmentName of executable'Full path to that executable on successABC""$%&'()*+,-./0123456789:;<=>?@ABC"98:<=;)*+,-./01435?@A2>67"$%&'(BC$%&'()*+,-./0123456789:;<=>?@ABCNone +4>IND@Cmd holds common infos needed to running a process in most casesFdirectory to run inGcommand to runIcommand line argumentsJKRun 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.LLike P, but takes an optional working directory and environment override, and throws & if the process exits unsuccessfully.Inherits stdout and stderr.MLike P, but takes an optional working directory and environment override, and throws & if the process exits unsuccessfully.Inherits stdout and stderr.OLike UV, but taking a D. Note that the s provided by  are not closed automatically. DEFGHIJ!optional additional error messageK!optional additional error messageLMNO DEFGHIJKLMNO JKLMNODEFGHIDEFGHIJKLMNO Safe PQRSTUVPQRSTUVPQRSTVU PQRSTUV None(W9Find the location of a file matching the given predicate.X>Find the location of a directory matching the given predicate.9Find the location of a path matching the given predicate.Y5Find 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.ZfindInParents f path applies f to path and its s until it finds a  or reaches the root directory.W Start here.Predicate to match the file.#Do not ascend above this directory.Absolute file path.X 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.YRoot directory to begin with.Predicate to match files.,Predicate for which directories to traverse.List of matching files.ZWXYZWXYZWXYZ 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 &) >>= rejectMissingFile`See _.[\]^_`[\]^_`[^\]_`[\]^_` Safea2Generate and execute a complicated options parser.b(Add a command to the options dispatcher.c@Add a command that takes sub-commands to the options dispatcher.(Add a command to the options dispatcher.d&Generate a complicated options parser.Non-hidden help option.anumeric versionversion string hpack numeric version, as stringheaderprogram descriptioncommon settings%optional handler for parser failure;  is called by defaultcommands (use b)bcommand stringtitle of commandfooter of command help2constructor to wrap up command in common data type common parsercommand parserccommand stringtitle of commandfooter of command help common parsersub-commands (use b)command stringtitle of commandfooter of command help2constructor to wrap up command in common data type common parsercommand parserdcommon settingscommands (use b)abcdbcadabcd Safe eEnable/disable flags for a .fEnable/disable flags for a 1, without a default case (to allow chaining with ).gEnable/disable flags for a ( ).h"Enable/disable flags for any type.iMEnable/disable flags for any type, without a default (to allow chaining with )j Show an extra help option (e.g.  --docker-help shows help for all  --docker* args).'To actually have that help appear, use k" before executing the main parser.k<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.l, specialized to .m, specialized to . e Default value Flag name Help suffixf Flag name Help suffixg Flag name Help suffixh Default value Enabled valueDisabled valueName Help suffixi Enabled valueDisabled valueName Help suffixj Hide from the brief description?Program name, e.g. "stack"Option glob expression, e.g.  "docker*"Help option name, e.g.  "docker-help"kCommand line argumentsExtra help option name, e.g.  "docker-help"&Option parser for the relevant commandOption descriptionlm efghijklm efghijklm efghijklmNone!"*+7IMNn2An 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."nopqrstuvwxyz{|}~ destinationcustom hook to observe progress Whether a download was performednopqrstuvwxyz{|}~{|}~wxyzstuvrnopqnopqrstuvwxyz{|}~Safe+Does the version range have an upper bound?*Does the version range have a lower bound?Safe Applicative .    Monadic .    SafeNone&+N2Write to the given file, with a binary-tagged tag.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.vEnsure that there are no lurking exceptions deep inside the parsed value... because that happens unfortunately. See 5https://github.com/commercialhaskell/stack/issues/554   SafeConcatenate 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.NoneFWarning 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.@ 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   if the file was downloaded,   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  . Useful for avoiding a MonadBaseControl constraint. destinationHWas a downloaded performed (True) or did the file already exist (False)? destination ! nopqrstuvwxyz{|}~#{|}~wxyzstuvrnopq   None+035CA package version. A parse fail.(Attoparsec parser for a package version.1Convenient way to parse a package version from a .Migration function.1Get a string representation of a package version.1Get a string representation of a package version.Convert to a Cabal version.Convert from a Cabal version.Make a package version.Display a version range-Check if a version is within a version range.BA modified intersection which also simplifies, for better display.@Returns the first two components, defaulting to 0 if not presentlGiven a version range and a set of versions, find the latest version from the set that is within the range.7Get the next major version number for the given version#None035/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.Variety of compiler to use.None+035CF A package name. A parse fail.$Attoparsec parser for a package nameMake a package name.Parse a package name from a .Parse a package name from a .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.9An argument which accepts a template name of the format  foo.hsfiles. !"#$%&' !"#$%&'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 .@Get a string representation of the package identifier; name-ver.>Get a Text representation of the package identifier; name-ver.()*+,-./012 ()*+,-./012Signature Types(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNone+35 Exceptions3#Handy wrapper for orphan instances.The GPG fingerprint.A GPG signature.3456789:;<=>?  3456789:;<=>?None35G)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 containers Download from official bindist Host'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's"See: 4#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 container,LCreate 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.0.Environment variables to set in the container.1!Location of image usage database.21Location of container-compatible stack executable3%Set in-container user to match host's4.Require a version of Docker within this range.5Parse  .6Docker enable argument name.7Docker repo arg argument name.8Docker image argument name.9$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.A$Docker container name argument name.BDocker persist argument name.C#Docker database path argument name.D#Docker database path argument name.E Value for --docker-stack-exe=downloadF Value for --docker-stack-exe=hostG Value for --docker-stack-exe=imageHDocker set-user argument nameIDocker require-version argument nameJHArgument name used to pass docker entrypoint data (only used internally)KParse VersionRange.L For YAML.MShow instance.NFor optparse-applicative.O"Left-biased combine Docker optionsP3Decode uninterpreted docker options from JSON/YAML.N      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPH      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJN#$%&'()*+,-./01234 !"PO   5  NMLK6789:;<=>?@ABCDEFGHIJ"      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPNone C V"an absolute path on the filesystemWJa relative path on the filesystem, or relative to the template repositoryX a full URLYA 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.QRSTUVWXYZ[\]^_`abQRSTUVWXYZ[\]^_`YZUVWXbQRSTa[\]^_` QRSTUVWXYZ[\]^_`abNone+035CF c A flag name.d A parse fail.f!Attoparsec parser for a flag namegMake a flag name.h+Convenient way to parse a flag name from a .i(Convenience function for parsing from a j/Produce a string representation of a flag name.k/Produce a string representation of a flag name.lConvert from a Cabal flag name.mConvert to a Cabal flag name.c@defghijklmABCDEFGHIJ cdefghijklm cdefhijklmgc@defghijklmABCDEFGHIJNone+035C n(Information on a single package for the v.sDue 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 .t$Executables provided by this packageuIs there a library present?vA simplified version of the  + cabal file.z=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 want8The 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 .snopqrstuvwxyz{|}~KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrKnopqrstuvwxyz{|}~Kz{|}~vwxynopqrstu6nopqrstuvwxyz{|}~KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrNone+0A ghc-pkg package identifier.s 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.tsuvwxyz{|}~tsuvwxyz{|}~None0CGoffset in bytes into the 00-index.tar file for the .cabal file contents size in bytes of the .cabal file    None35nAn uninterpreted representation of nix options. Configurations may be "cascaded" using mappend (left-biased)./Should nix-shell be defaulted to enabled (does nix: section exist in the config)?Is using nix-shell enabled?Should the nix-shell be pure+System packages to use (given to nix-shell)QThe path of a file containing preconfiguration of the environment (e.g shell.nix)1Options to be given to the nix-shell command line$Override parts of NIX_PATH (notably nixpkgs)MNix configuration. Parameterize by resolver type to avoid cyclic dependency.EThe system packages to be installed in the environment before it runsQThe path of a file containing preconfiguration of the environment (e.g shell.nix)1Options to be given to the nix-shell command lineNix enable argument name.$Nix run in pure shell argument name.*Nix packages (build inputs) argument name."shell.nix file path argument name.6Extra options for the nix-shell command argument name.NIX_PATH override argument nameLeft-biased combine Nix options0Decode uninterpreted nix options from JSON/YAML. !None35NnMaybe have a docker base image name. (Although we will not be able to create any Docker images without this.)JMaybe have a specific ENTRYPOINT list that will be used to create images.]Maybe have some static project content to include in a specific directory in all the images./Maybe have a name for the image we are creating:Filenames of executables to add (if Nothing, add them all)3Image options. Currently only Docker image options..One or more stanzas for docker image settings."None35   #None35Options for the  FinalAction  DoBenchmarks)Arguments passed to the benchmark programDisable running of benchmarksOptions 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 build cOnly 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 CLI4+Command sum type for conditional arguments.:5Build options that may only be specified from the CLIEqBuild options that is interpreted by the build command. This is built up from BuildOptsCLI and BuildOptsMonoidIBuild haddocks?JOpen haddocks in the browser?K Build haddocks for dependencies?L0Install executables to user path after building?MSFetch all packages immediately ^ Watch files for changes and automatically rebuildN#Keep building/running after failureO7Force treating all local packages as having dirty filesPTurn on tests for local targetsQAdditional test argumentsR$Turn on benchmarks for local targetsSAdditional test arguments ^ Commands (with arguments) to run after a successful build ^ Only perform the configure step when buildingT5Perform the configure step even if already configuredU%Ask Cabal to be verbose in its buildsVWhether to enable split-objs.q      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZU      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZUEFGHIJKLMNOPQRSTUV456789WX:;<=>?@ABCD"#$%&'()*+,-./0123YZ      !*      !"#$%&'()*+,-./0123456789: ;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ$None+135>CFLNV[Docker host user info]uid^gid_Supplemantal groups`File creation mask }aAData passed into Docker container for the Docker entrypoint's usecUIDGIDCetc of host user, if we wish to perform UID/GID switch in containerd.How PVP bounds should be added to .cabal filesiRemote or inline lx#Information for a file to download.};Specialized bariant of GHC (e.g. libgmp4 or integer-simple)~Standard bindist(Bindist that supports libgmp4 (centos66)+Bindist built on Arch Linux (bleeding-edge) Bindist that uses integer-simpleOther bindistsHA variant of the platform, used to differentiate Docker builds from hostA software control system. $STACK_ROOT , parent dirSee: ESee: F.build options.Docker options.>Options for the execution environment (nix-shell or container)See: NSee: ODeprecated in favour of See: 'configUrlsSee: TSee: USee: VSee: WSee: XSee: YSee: [ Used for overriding the platform Used for overriding the platform#Used for overriding the GHC variantSee: \See: ]See: ^See: `,Used to override the binary installation dirImage creation options.Template parameters.8Initialize SCM (e.g. git init) when making new projects?See d-Additional paths to search for executables inDAdditional setup info (inline or remote) to use for installing toolsSee fSee gSee hSee See jSee _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 C.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.^Use an official snapshot from the Stackage project, either an LTS Haskell or Stackage NightlyRequire a specific compiler version, but otherwise provide no build plan. Intended for use cases where end user wishes to specify all upstream dependencies manually, such as using a dependency solver.dA custom resolver based on the given name and URL. This file is assumed to be completely immutable.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? i 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 ?W.Top-level Stack configuration.Action to load the remaining .,The project root directory, if in a project.3Configuration after the environment has been setup.A superset of C adding information on how to build code. The reason for this breakdown is because we will need some of the information from C' 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  loadConfig Resolver override Compiler override We'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.yaml+1Controls which version of the environment is used-:include local project bin directory, GHC_PACKAGE_PATH, etc.%include the GHC_PACKAGE_PATH variable/9set the STACK_EXE variable to the current executable name0set the locale to C.UTF-81[Location of the package index. This ensures that at least one of Git or HTTP is available.5Unique name for a package index8%Information on a single package index<#URL prefix for downloading packages=XGPG-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?;Which packages to ghc-options on the command line apply to?@all local targetsA$all local packages, even non-targetsB every packageC%The top-level Stackage configuration.E~/.stack more often than notF-this allows to override .stack-work directoryG*Path to user configuration file (usually ~.stack config.yaml)HBuild configurationIDocker configurationJ3Execution environment (e.g nix-shell) configurationK4Environment variables to be passed to external toolsL9Non-platform-specific path containing local installationsM0Path containing local installations (mainly GHC)N<How many concurrent connections are allowed when downloadingOJHide the Template Haskell "Loading package ..." messages from the consoleP=The platform we're building for, used in many directory namesQ5Variant of the platform, also used in directory namesR>The variant of GHC requested by the user. In most cases, use  or  MiniConfig=s version instead, which will have an auto-detected default.SURLs 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.TInformation 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 priorityUnShould we use the system-installed GHC (on the PATH) if available? Can be overridden by command line options.V}Should we automatically install GHC if missing or the wrong version is available? Can be overridden by command line options.W6Don't bother checking the GHC version or architecture.X.On Windows: don't use a locally installed MSYSY8Specifies which versions of the compiler are acceptable.Z,Directory we should install executables into[-Require a version of stack within this range.\CHow many concurrent jobs to run, defaults to number of capabilities]-extra-include-dirs arguments^-extra-lib-dirs arguments_ ConfigMonoid used to generate this`Run test suites concurrentlybParameters for templates.c5Initialize SCM (e.g. git) when creating new projects.d_Additional GHC options to apply to either all packages (Nothing) or a specific package (Just).e=Additional SetupInfo (inline or remote) to use to find tools.f0How PVP upper bounds should be added to packagesg'Force the code page to UTF-8 on WindowshSee .  provides the default value.iRebuild on GHC options changesj;Which packages to ghc-options on the command line apply to?kKIgnore version ranges in .cabal files. Funny naming chosen to match cabal.l_The default template to use when none is specified. (If Nothing, the default default is used.)mKAllow users other than the stack root owner to use the stack installation.n!In memory cache of hackage index.q?Default logging level should be something useful but not crazy.r2Directory containing the project's stack.yaml files "r /.stack-work"tConvert a Resolver into its Text4 representation, as will be used by directory namesuTry 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.v:Helper function to ask the environment and apply getConfigw>Get the URL to request the information on the latest snapshotsx!Root for a specific package indexy#Location of the 00-index.cache filez!Location of the 00-index.tar file{$Location of the 00-index.tar.gz file|Location of a package tarball}  ".stack-work"~Per-project work dir)File containing the installed cache, see Stack.PackageDump.Relative directory for the platform identifierDirectory containing snapshots"Installation root for dependenciesInstallation root for localsGPath for platform followed by snapshot name followed by compiler name..Relative directory for the platform identifierThis 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.1Package database for installing dependencies into3Package database for installing local packages intoExtra package databases,Directory for holding flag cache information%Where to store mini build plan caches9Suffix applied to an installation root to get the bin dir9Suffix applied to an installation root to get the doc dir+Where HPC reports and tix files get stored.CGet the extra bin directories (for the PATH). Puts more local first3Bool indicates whether or not to include the localsaGet the minimal environment override, useful for just calling external processes like git or ghc@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.!Render a GHC variant to a String.(Render a GHC variant to a String suffix. Parse GHC variant from a String."Parse JSON in existing object for xOProvide 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.[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~=CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnovwrs}~?@AB+,-./0     q89:;<=>567zy{x|p1234defghut~}&'()*"#$% !xyz{|tuvwlmnopqrsijkabc[\]^_`[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'         !"#$%&'()*+,-./0123456789:;<=>?@ABC,DEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~%None!5Extensions for anything that can be a Haskell module.@Extensions used for Haskell modules. Excludes preprocessor ones.EExtensions for modules that are preprocessed by common preprocessors.Output .o/.hi directory.6The filename used for dirtiness check of source files.3The filename used to mark tests as having succeeded/The filename used to mark tests as having built0The filename used for dirtiness check of config.2The filename used for modification check of .cabalDirectory for HPC work.,Relative location of directory for HPC work.$Package's build artifacts directory.Package's working directory. Directory for project templates.%Relative location of build artifacts.!Docker sandbox from project root.$Image staging dir from project root. Name of the stack program, uppercased Name of the stack program.,The filename used for the stack config file.*Environment variable used to override the  '~/.stack' location.&Option name for the global stack root.1Deprecated option name for the global stack root.Deprecated since stack-1.1.0.1TODO: Remove occurences of this variable and use / only after an appropriate deprecation period.DEnvironment variable used to indicate stack is running in container.+Just to avoid repetition and magic strings.LDeprecated 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#Package directory.Package directoryPackage directoryPackage directory.Package directory.Package directory. Project rootDocker sandbox Project rootIndex of imageDocker sandbox Stack root. Stack root. Stack root!!#&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'NoneINMonadic environment.++(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  7Replace Unicode characters with non-Unicode equivalents2Logging 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!"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 imageURun an action with the global database. This performs any needed migrations as well.% !"#$%&'()*+,-./01234567  !"#$%&677/701723457'7()7*+,-.*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 HH with tests and benchmarks enabled, if either is asked for by the user."Directory of the package.#The .cabal file%Nothing == 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 files'all files used by this package(\Datatype which tells how which version of a package to install and where to install it into+GWhere the package's source is located: local directory or package index-ZUpstream packages could be installed in either local or snapshot databases; this is what  specifies./Package build configuration1Are tests enabled?2Are benchmarks enabled?3Package config flags.4 GHC version5 host platform6(Warning generated when reading a package7/Modules found that are not listed in cabal file8@Modules not found in file system, which are listed in cabal file9nFiles 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.CThese options can safely have nubOrd< applied to them, as there are no multi-word options (see 7https://github.com/commercialhaskell/stack/issues/1255)EnFiles that the package depends on, relative to package directory. Argument is the location of the .cabal fileHSome package info.JName of the package.KVersion of the packageLGet all files of the package.M%Packages that the package depends on.NA build tool name.O#Original dependencies (not sieved).PFlags used on package.QDefaults for unspecified flags.R1does the package have a buildable library stanza?S#names and interfaces of test suitesTnames of benchmarksUnames of executablesVArgs to pass to GHC.W&Does the package have exposed modules?X&Does the package of build-type: SimpleY%All exceptions thrown by the library.j5Maybe get the module name from the .cabal descriptor.k3Maybe get the main name from the .cabal descriptor.lGet the module path.mGet the main path.nGet the c file path.o Get the path.qGet the installed Version.yCompares the package name.zCompares the package name.      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~y      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqYZ[\]~HIJKLMNOPQRSTUVWX^_EFG}?@ABCD<=>9:;|678{/012345zy.+,-x()* !"#$%&'`abcdefghiw     vutsrjklmnopq7      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~+None  (+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 it0Final 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 options4Dependencies for which we don't yet have an GhcPkgId.Produce the list of options given the missing GhcPkgIdsA task to perform when buildingthe package/version to be built+the task type, telling us how to build this+GhcPkgIds of already-installed dependencies3indicates that the package can be built in one stepQStored on disk to know whether the flags have changed or any files have changed."All options used for this package.The 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.The 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.Are haddocks to be built?8Package dependency oracle.$Reason why a dependency was not used97For display purposes only, Nothing if package not found>Recommend adding to extra-deps, give a helpful version number?Path to the stack.yaml file Render a BaseConfigOpts to an actual list of options:Same as -, but does not include directory path options,Get set of wanted package names from locals.&One-way conversion to serialized time.h8;9< dependencieswanted?local non-extra-dep?=: dependencieswanted?is this a local, non-extra-dep?>?@ABCDEFGHIJKL  !EFGHIJKLMNOPQRSTUVW      !"#$%&'()*Җ()* !"#$%&' EFGHIJKLMNOPQRSTUV !W     &8;9<=:>?@ABCDEFGHIJKLXNone      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq,None  !"(*>F/Need targets, e.g. `stack build` or allow none?9A view of a local package needed for resolving componentsqRaw command line input, without checking against any databases or list of locals. Does not deal with directoriesnEither a fully resolved component, or a component name that could be either an executable, test, or benchmarkRThe name of a component, which applies to executables, test suites, and benchmarksIf this function returns Nothing., the input should be treated as a directory.MSame as parseRawTarget*, but also takes directories into account.%NOPQRSMcurrent directoryTsnapshot extra depsUsnapshot extra depsVWneed at least one targetusing implicit global project?snapshot extra depscurrent directorycommand line targetsNOPQRSMTUVW-None+4F Get the global package databaseXRun the ghc-pkg executableFCreate a package database in the given directory, if it doesn't exist.>Get the name to use for "ghc-pkg", given the compiler version.YIGet the necessary ghc-pkg flags for setting up the given package databaseZ(Get the value of a field of the package.[Get the version of the package:Get the version of Cabal from the global package database."Get the value for GHC_PACKAGE_PATH XYZpackage databasespackage identifier, or GhcPkgId[package databasespackage database)5)5 XYZ[.None&07F\QStored on disk to know whether the flags have changed or any files have changed.Modification times of files.]=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 build^Try to load a cache.3Write the dirtiness cache for this package's files.;Write the dirtiness cache for this package's configuration.See "Delete the caches for the project._Write to a cache.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.1Write out information about a newly built packageLCheck the cache for a precompiled package matching the given configuration.\a]^_b` dependencies dependencieslibrary executablestarget package dependenciescdef\a]^_b`cdef/None+04CFIN2A single line of input, not including line endings%Dump information for a single packageMCached information on whether a package has profiling libraries and haddocks.LCached information on whether package have profiling libraries and haddocks.ACall 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 databaseg%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  DumpPackages#VApply the given Sink to each section of output, broken by a single line containing ---$Grab each key/value pairhGeneral purpose utility2ijk     lmnif empty, use globalif empty, use globalgif 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 oentry in directoryname of library!"pq#$hrstuvwx       !"#$ #$     " !ijk      lmng o!"pq#$hrstuvwx0None &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.y;Generate Haddock index and contents for specified packages.z,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 6Y&Packages that we want to generate haddocks for in any case (whether or not we are going to generate haddocks for dependencies)'(Local package dump)Global dump informationSnapshot dump informationLocal dump information*Global package dumpSnapshot package dumpyz{|}~%&'()*()*%&' %&'()*yz{|}~1None&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 SourceMapCheck 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 +,-./ +,-./ +,-./2None (+345FINU/0-Read the raw, unresolved package information.1?Read the raw, unresolved package information from a ByteString.2)Reads and exposes the package information3<Reads and exposes the package information, from a ByteString4Get  and $ reading info from given directory.5Print cabal file warnings.6Check if the given name in the Package$ matches the name of the .cabal file7#Resolve a parsed cabal file into a H.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).8Make the autogen dir.Make the build dir.@Make the component-specific subdirectory of the build directory.9=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.601234567:Packages to omit from the "-package" / "-package-id" flags'Packages to add to the "-package" flagsThe cabal directory.The name of the component.Dist directory.The path to the .c file.*The path to the .o file for the component.89:;Compiler versioninstallation target platform enabled flagsPackage component nameDirectories to look in. Base names. Extensions.Directories to look in. Base names. Extensions.<package directory=>?3/0123459:;EFGHIJKLMNOPQRSTUVWXYZ[\]0123456789:;<=>?3234017<=HIJKLMNOPQRSTUVWX9:;EFG/012345>YZ[\];:9865?10123456789:;<=>?3None !"(+047>CFIN2Populate the package index caches and return them.7Require that an index be present, updating if it isn't.@!Update all of the package indicesUpdate the index tarball/Update the index Git repo and the index tarball!Update the index tarball via HTTP Is the git executable installed?Delete the package index cacheA!Lookup a package's versions from .BCGet the known versions for a given package from the package caches.See E for performance notes.DAccess the package caches from .FIXME: This is a temporary solution until a better solution to access the package caches from Stack.Build.ConstructPlan has been found.E;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.[Clear the in-memory hackage index cache. This is needed when the hackage index is updated.(Return the number of blocks in an entry.@Git URLurlABCDE@ABCDE@EDBAC@ABCDE4None  +47FIMN Contents of the .cabal fileJ/Fetch packages into the cache without unpackingK.Intended to work for the command line command.LEnsure that all of the given package idents are unpacked into the build unpack directory, and return the paths to all of the subdirectories.M4Resolve a set of package names and identifiers into  FetchPackage values.O:Add the cabal files to a list of idents with their caches.P.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.0*FGHIJK destinationnames or identifiersLunpack directory the dist rename directory, see: (https://github.com/fpco/stack/issues/157MNOPdirectory to unpack into, Nothing means no unpack the dist rename directory, see: (https://github.com/fpco/stack/issues/157 FGHIJKLMNOP KLJMNFGHIOPFGHIJKLMNOP5None+04Fset of shadowed dependencies]YDetermine 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 indexBResolve all packages necessary to install for the needed packages.^*Map from tool name to package providing it_ Load up a v, preferably from cacheMSome 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 errorsCheck 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.&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 Q, where GT means a better plan.dCheck a set of zs and a set of flags against a given snapshot. Returns how well the snapshot satisfies the dependencies of the packages.eiFind a snapshot and set of flags that is compatible with and matches as best as possible with the given s.8QRSTUVWXYZ[\]"is it shadowed by a local package?"required packages, and users of itCompiler versioncoresnon-core packages allow missingCompiler version"is it shadowed by a local package?^_`abc6package using dependencies, for constructing DepErrorsdependency constraintsAvailable package pool or indexdefg histack.yaml file location     %nopqrstuvwxyQRSTUVWXYZ[\]^_`abcdefghi%Z[\QRSTdUVWXYb`avwxynopqrstu_c]e^hfgi&QRSTUVWXYZ[\]^_`abcdefg hi     6None 47FMNk7Use the build options and environment to parse targets. xFor every package in the snapshot which is referenced by a flag, give the user a warning and then add it to extra-deps.l9Parse out the local package views for the current project OCheck if there are any duplicate package names and, if so, throw an exception.m7Upgrade 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.nAll flags for a local package /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.oNReturns 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.pGet / for package given its name.jk snapshot extra-depslocalspackages referenced by a flagl  m  extra depssnapshot, for error messagesn original extra deps)package identifiers from the command line&all packages added on the command line new extradeps  old cachefiles in packageo  p +,-.jklmnop j.+,-nlmkopjk l  m n o  p7None  47FN Cexecutable to be installed, and location where the binary is placed 'why a local package is considered dirty $Packages which count as dependencies Warnings 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?B        ! " # $ % & ' ( ) * + ,     - . / 0 1 2 3 4 5 6q&additional packages that must be builtlocally registeredload upstream package  7 8#is this being used by a dependency? 9 : ; <#is this being used by a dependency? = > ? @#is this being used by a dependency? A B C D E F  G H  I J  K L M N O P Qqq)        ! " # $ % & ' ( ) * + ,     - . / 0 1 2 3 4 5 6q  7 8 9 : ; < = > ? @ A B C D E F  G H  I J  K L M N O P Q8None&3457w5Invoked at the beginning of running with "--coverage"xiMove a tix file into a sub-directory of the hpc report directory. Deletes the old one if one is present. R;Get the directory used for hpc reports for the given pkgId. SnGet the tix file location, given the name of the file (without extension), and the package identifier string.yVGenerates the HTML coverage report and shows a textual coverage summary for a package. TModule names which contain  UE have a package name, and so they weren't built into the executable.rstuvwx R Sy Vz{ W X T Y| Z [ \ ] ^ rstuvwxyz{| wxyrstuvz{|rstuvwx R Sy Vz{ W X T Y| Z [ \ ] ^9None+}Exceptions during cleanup. Options for  stack clean.,Delete the "dist directories" as defined in %Zb 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 }. }~ _ ` a}~}~}~ _ ` a:None#Interprets BuildOptsMonoid options.;None<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+=Nix can't be given packages and a shell file at the same time!Interprets NixOptsMonoid options. b c b c>None&+4 dStack image exceptions. e?Unspecified parent docker container makes building impossible f@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. g,Stage all the Package executables in the usrlocal&bin subdirectory of a temp directory. h`Add any additional files into the temp directory, respecting the (Source, Destination) mapping. i0Derive an image name from the project directory. jdCreate a general purpose docker image from the temporary directory of executables & static content. kHExtend the general purpose docker image with entrypoints (if specified). l1Fail 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. d e f m n g h i j k l o p d e f m n g h i j k l o p?None +4>CFLNU;An environment with a subset of BuildConfig used for setup. qWIf 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 z value from stackage.org.Turn an  into a . r+Get the latest snapshot resolver available. sGet the default }0. On older Linux systems with libgmp4, returns . tpGet 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 .cLoad the configuration, using current directory, environment variables, and defaults as necessary. uMLoad 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. vMResolve a PackageLocation into a path, downloading and cloning as necessary. wGet the stack root, e.g. ~/.stack), and determine whether the user owns it.'On Windows, the second value is always  . dir throws  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. x x dir returns  (dir,  ) when dir6 exists and the current user owns it in the sense of  y. y0Check whether the current user (determined with getEffectiveUserId#) is the owner for the given path.Will always return   on Windows. 7 if we are currently running inside a Docker container. z6Determine the extra config file locations which exist.Returns most local first {7Load and parse YAML from the given conig file. Throws  when there's a decoding error. |(Load and parse YAML from the given file. }:Get the location of the project config file, if it exists. ~Find 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. Get 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. Get 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." qQDescription of file for warning (if Nothing, no deprecation warning is displayed)Test for existenceNew pathDeprecated path((Path to use, whether it already exists) r stack root, e.g. ~/.stackuser config file path, e.g. ~.stack config.yaml s t0Config monoid from parsed command-line argumentsOverride stack.yamlOverride resolver u project root v project root wParsed command-line arguments x y zuse config path { | }Override stack.yaml ~Override stack.yaml    ! q r s t u v w x y z { | } ~   @None4NANone4Default  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  .BNone+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.'    Y[ [Y     CNone 4e.g. ghc-7.8.4, msys2-20150512e.g. ghcjs-0.1.0_ghc-7.10.22Binary directories for the given installed package   D 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. Try to execute gpg2 but fallback to   (as a backup)  ESigning 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.[GPG Signatures for Stack(c) FPComplete.com, 2015BSD3!Tim Dysinger <tim@fpcomplete.com> experimentalPOSIXNoneFNone+NSettings for creating an Uploader. Since 0.1.0.0The computed value from a UploadSettings.%Typically, you want to use this with . Since 0.1.0.08Whether 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.0)A source for getting Hackage credentials. Since 0.1.0.0*Username and password to log into Hackage. Since 0.1.0.0/Load Hackage credentials from the given source. Since 0.1.0.03Save the given credentials to the credentials file. Since 0.1.0.0OLoad the Hackage credentials from the prompt, asking the user to type them in. Since 0.1.0.07Load the Hackage credentials from the JSON config file. Since 0.1.0.06Load 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.0'Upload a single tarball with the given Uploader. Since 0.1.0.0'Upload a single tarball with the given Uploader#. Instead of sending a file like , this sends a lazy bytestring. Since 0.1.2.1Default value for UploadSettings.(Use setter functions to change defaults. Since 0.1.0.0Change the upload URL. Default: " &https://hackage.haskell.org/packages/" Since 0.1.0.0&How to get an HTTP connection manager. Default: newManager tlsManagerSettings Since 0.1.0.0#How to get the Hackage credentials. Default:  fromAnywhere Since 0.1.0.0(Save new credentials to the config file. Default: True Since 0.1.0.0)                 GNone+#Does not include the current action threads$keep going after one task has failedrun final actions concurrently?progress updated     HNone&47 $Temporary Setup.hs for simple builds Compiled 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.  For a dry run Get a compiled Setup exe!Execute a callback that takes an .Perform the actual plan Windows can't write over the current executable. Instead, we rename the current executable to something else and then do the copy. "Perform the actual plan (internal) Generate the ConfigCache CEnsure that the configuration for the package matches what is given MCheck if any unlisted files have been found, and add them to the build cache. 8Determine if all of the dependencies given are installed IStrip Template Haskell "Loading package" lines and making paths absolute. [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/  Setup.hs input filetemporary directoryglobal packagessnapshot packageslocal packagesglobal packagessnapshot packageslocal packages newConfigCachepackage directoryannouncecabal .cabal file wAll dependencies' package ids to provide to Setup.hs. If Nothing, just provide global and snapshot package databases. Is this a final build? exclude TH loading?convert paths to absolute?package's root directory project directory dependencies of the packageglobal packages    INone  &+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. VIf all the tasks are local, they don't mutate anything outside of our local directory. See  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 PSet 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   selectors     JNone +-345FMNU0If 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 Config UEnsure compiler (ghc or ghcjs) is installed and provide the PATHs to add if necessary ,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-8K                  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  -   . / 0 1          ,                            ! " # $ % & ' ( ) * +  ,  -   . / 0 1KNone&+4FIMNV6 2@Function to get command and arguments to run in Docker container"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. 3Parsed Config section of docker inspect output. 4Parsed result of docker inspect.#Cleanup action.' Options for 1./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. 5If 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 /.0 Error if running in a container. 6?Run a command in a new Docker container, then exit the process.1*Clean-up old docker images and containers. 7"Inspect Docker image or container. 81Inspect multiple Docker images and/or containers.2=Pull latest version of configured Docker image from registry. 9 Pull Docker image from registry. :4Check docker version (throws exception if incorrect)3$Remove the project's Docker sandbox.4The 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 \]Z to clear bind-mounted directories, since removing the root of the bind-mount won't work. =Produce a strict ^_) 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. A.Convenience function constructing message for $log*. B1Fail with friendly error if project root not set. CEnvironment variable that contained the old sandbox ID. | Use of this variable is deprecated, and only used to detect old images.5"Command-line argument for "docker"7Command-line argument for  docker pull.8Command-line argument for docker cleanup.9Command-line option for --internal-re-exec-version. D#Platform that Docker containers run E'Show instance for StackDockerException. F,Exception instance for StackDockerException. GParse Config section of docker inspect output. HParse docker inspect output.J I 2 !" 3 J K L 4 M N O P Q#$%&'()*+,-./ 50 6Project root (maybe)Action to run beforeAction to run after1 7 82 9 :34 ; <Directory to remove contents of1Top-level directory names to exclude from removal,Top-level file names to exclude from removal = > ? @ A B C56789 D E F G H* !"#$%&'()*+,-./0123456789*1'()*+,-.#$%&8567402/39 !"& I 2 !" 3 J K L 4 M N O P Q#$%&'()*+,-./ 50 61 7 82 9 :34 ; < = > ? @ A B C56789 D E F G HLNone&+4 RExceptions thrown by  Stack.Nix. SECan'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. T?Shell-escape quotes inside the string and enclose it in quotes. U1Fail with friendly error if project root not set. V * if we are currently running inside a Nix. WEnvironment 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.;Command-line argument for "nix" X R S: Y T U V W;< Z [:;<:;< X R S: Y T U V W;< Z [MNone 47>LN=Merge 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.AGFinds 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 filesBPerform 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.CVerify 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. ] ^ _ ` a cabal filessrc constraintsdep constraintsadditional arguments btemp dir constraints c d=>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))?@A \B e fDirectories to scanWhether to scan sub-directoriesCmodify stack.yaml? g=>?@ABC@BA?=C> ] ^ _ ` a b c d=>?@A \B e fC gNNone47F2List of sub directories to search for .cabal filesG6Use solver to determine required external dependenciesH1Exclude conflicting or incompatible user packagesIOverwrite existing stack.yamlJ>If True, include all .cabal files found in any sub directoriesKGenerate stack.yaml h.Render a stack.yaml file with comments, see: 5https://github.com/commercialhaskell/stack/issues/226 iGet the default resolver valueDEFGHIJK h j i stack.yaml6Src package name: cabal dir, cabal package descriptiont( Resolver , Flags for src packages and extra deps , Extra dependencies , Src packages actually considered) k stack.yaml6Src package name: cabal dir, cabal package descriptiont( Resolver , Flags for src packages and extra deps , Extra dependencies , Src packages actually considered) l stack.yaml6Src package name: cabal dir, cabal package description mDEFGHIJKKDEFGHIJDEFGHIJK h j i k l mONone4FLOptions record for  stack dotNInclude external dependenciesOInclude dependencies on basePOLimit the depth of dependency resolution to (Just n) or continue until fixpointQ%Package names to prune from the graphR8Visualize the project's dependencies as a graphviz graph nCreate 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.T"pruneGraph dontPrune toPrune graph prunes all packages in graph with a name in toPrune3 and removes resulting orphans unless they are in  dontPrune o9Make sure that all unreachable nodes (orphans) are prunedULResolve the dependency graph up to (Just depth) or until fixpoint is reached pUGiven a SourceMap and a dependency loader, load the set of dependencies for a package qNResolve the direct (depth 0) external dependencies of the given local packagesVUPrint a graphviz graph of the edges in the Map and highlight the given local packages rAPrint the local nodes with a different style depending on options s Print nodes without dependencies tprintDedges p ps" prints an edge from p to every ps u+Print an edge between the two package names v,Convert a package name to a graph node name. w!Print a node with no dependencies x3Check if the package is wired in (shipped with) ghcLMNOPQR nST oU p qV all locals r s t u v w x LMNOPQRSTUV RSLMNOPQUVTLMNOPQR nST oU p qV r s t u v w xPNone+4FZ:Necessary information to load a package or its components.`Module file paths.aC files.dCommand-line options for GHC.pLaunch 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. yFigure 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.qiCreate a list of infos for each target containing necessary information to load that package/components. z=Make information necessary to load the given package in GHCi.&WXYZ[\]^_`abcdefghijklmnop yq z { | } ~  WXYZ[\]^_`abcdefghijklmnopqdefghijklmnoZ[\]^_`abcWXYqpWXYZ [\]^_`abcd efghijklmnop yq z { | } ~  QNone4FNrLaunch a GHCi IDE for the given local project targets with the given options and configure it with the load paths and extensions of those targets.s8Get options and target files for the given package info.rTargets. GHC options.strstrstrstRNoneu8Allows 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.v%Global options before subcommand namew-Global options following any other subcommandy1Parser for bench arguments. FIXME hiding optionsz#Parser for CLI-only build arguments Parser for package:[-]flag{*Command-line parser for the clean command.|0Command-line arguments parser for configuration.~(Options parser configuration for Docker.$Parser for docker cleanup arguments.#Parser for arguments to `stack dot`Parser for exec command (Parser for extra options to exec command'Parser for global command-line options.(Create GlobalOpts from GlobalOptsMonoid.Parser for a logging level. Parser for the resolver GHC variant parser Parser for  solverCmd+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#uvwxyz {| }~metavar   456789uvwxyz{|}~ 456789uvwxyz{|~} uvwxyz {| }~   SNone47git repository to use&git hash at time of building, if knownTNone &+4IN ZSpecial exception to throw when you want to fail because of bad results of package check.LGiven 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.sCheck 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. Version of I that first saves lazy bytestring to temporary directory and then calls  on it. Override Config valuePath to local packageFilename and tarball contents Absolute path to tarball 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     `ab`ac`adefghijhiklmnopqrstrsuvwxvyzvy{|}~|}        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIIJKLMNOPQRSTUVVWXYZ[\]^_`abcdefghiijkklmnoppqrstuvvwxyz{|}~            ! " # $ $ % & ' ( ) * + , - . / 0 !1!1!2!3!3!4!5!6!7!8!9!9!:!;!<!=!>!?!@!A!B!!C!D"E"E"F"G"H"I"I"J"K"L"M""D#N#O#P#Q#R#R#S#T#U#U#V#W#X#X#Y#Z#[#\#]#]#^#_#`#a#b#c#d#e#f#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$9$:$;$<$=$>$?$@$A$B$B$C$D$E$F$G$H$I$J$K$K$L$M$N$O$P$Q$R$S$T$U$V$W$W$X$Y$Z$[$[$\$]$^$_$`$a$b$c$d$d$e$f$f$g$h$i$j$k$l$m$n$o$p$p$q$r$s$t$u$v$w$x$y$z${$|$}$~$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%%%%%%%%%%%%Z%%%%%%%%%%%%%%%%%%%%&&'''''''''''''''''''''''''''''''''''''' ' ' ' ' '((((((((((())))))) )!*"*#*$*%*&*'*(*)***+*,*-*.*/*0*0*1*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*U*V*W*X*Y*Z*[*\*]*^*^*_*`*a*b*c*c*d*e*f*g*h*h*i*j*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/90:0;0<0=0>0?1@1@1A1B1C2D2E2F2G2H2I2J2K2L2M2N2O2P2Q2R2S3T3U3V3W3X3Y4Z4Z4[4\4]4^4_4`4a4b4c5d5e5f5g5h5h5i5j5k5l5m5n5o5p5q5r5s5t5u5v5w5x5y5z5{6Y6|6}6~666788888888888999999:::;<<<<<<====>>>>>???????W????@@@@@AAAABBBBBBBBBBCCCCCCCCCCCCCCCCCDDEEEFFFFFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGHHHHHHIIIIIIIIJJJJJJJJ J J J J JJJJJJJJJKKKKKKKKKK K!K"K#K$K%K&K'K(K)K*K+K,K-K.K.K/K0K1K2K3K4K5K6K7K8K9K:K;K<K=K>K?L@LALBMCMDMEMFMGMHMINJNJNKNLNMNNNONPOQOQOROSOTOUOVOWOXOYOZP[P\P]P^P^P_P`PaPbPcPdPePfPgPgPhPiPjPkPlPmPnPoPpPqPrPsQtQuQvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRRSTTT_opo                  vy!"#$$#%&B'()*+,-.HB/01234567789:;<=>?@AABhCDEFGHIJKB/LMNOPQRSTUVWXYZ[\]^_`aB/bcdefghijklmnopqrstuvwxyzz{|}~##########################D##$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$D$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%((((((((((((((( ( ( (( ( (((((((((())))))))))) )!)")#)$))%)&)')()))*)+)),)-).)/)0+1+2+3+4+5+6+7+8+9+:+;+<+=+>+?+@+A+B+C+D+E,F,G,H,I,J,J,K,L,M,N,O-P-Q-R-S.T.U.V.W.X.T.Y.Z.[.\.]/^/_/`/a/b/c/c/-/d/e/f/g/h/i/j/k/l/m0n0o0p0q0r0s1t1u1v1v1w1x1y1z1z1{1|1}1~11111ee222222222222222222222222222222222222223333333333333344444444444444444444444444444445555555555555555555555555555555666666666 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 77 7 7 7 7 7 7 7 7 7 !7 "7 #7 $7 %7 &7 '7 (7 )7 *7 +7 ,7 -7 .7 /7 07 17 27 37 47 57 67 77 87 97 :7 ;7 <7 =7 >7 ?8 @8 A8 B C D8 E8 F8 G8 H8 I8 J8 K8 L8 M9 N9 O9 P= Q= R> S> T> U> V> W> X> Y> Z> [> \>x> ]> ^? _? `? a? b? c? d? e? f? g? h? i? j? k? l? m? n?? o? p? q? r? s? t u vB wB xB yB zB {B |B }B ~B B B B B B B B B B B B B B B B B B B B B C D F FF F F F FF F F FF FF F F F F F F F G G G G G G G G G G G G G H H H H H H H H H H H H H HH H H H H H H H H H H H H H H H HH H H H H H H H H H I I I I II I I I J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J J K K K K K K K K K K K !K "K #K $K %K &K [K 'K (K )K *K +K ,KK K -K .K K /K 0K 1K 2LL'L 3L [L 4L 5LL 6L QL RM 7M 8M 9M :M ;M <M =M >M ?M @M AM BN CN DN EN FN GN HO IO JO KO LO MO NO OO PO QO RO SP TP UP VP WP XP YP ZP [P \P ]P ^R _R `R aR bR cR dR eR fR gR hT i j kT lT mT nT oTT iT pT qT rT sT tT uT vT w xstack_1I3UQzKDqjy6BsBMiCen6OData.Binary.VersionTaggedStack.Types.VersionSystem.Process.RunSystem.Process.ReadNetwork.HTTP.DownloadStack.FileWatchSystem.Process.PagerEditorSystem.Process.Log Paths_stack Path.Find Path.ExtraOptions.Applicative.Complicated!Options.Applicative.Builder.ExtraNetwork.HTTP.Download.VerifiedDistribution.Version.ExtraData.Maybe.ExtraData.IORef.RunOnceData.Attoparsec.CombinatorsData.Attoparsec.ArgsOptions.Applicative.ArgsData.Aeson.ExtendedStack.Types.CompilerStack.Types.PackageNameStack.Types.PackageIdentifierStack.Types.SigStack.Types.DockerStack.Types.TemplateNameStack.Types.FlagNameStack.Types.BuildPlanStack.Types.GhcPkgIdStack.Types.PackageIndexStack.Types.NixStack.Types.ImageStack.Types.UrlsStack.Types.Config.BuildStack.Types.ConfigStack.ConstantsData.Attoparsec.InterpreterStack.Types.InternalStack.Types.StackTStack.Docker.GlobalDBStack.Types.PackageStack.Types.BuildStack.Build.Target Stack.GhcPkgStack.Build.CacheStack.PackageDumpStack.Build.HaddockStack.Build.Installed Stack.PackageStack.PackageIndex Stack.FetchStack.BuildPlanStack.Build.SourceStack.Build.ConstructPlanStack.Coverage Stack.CleanStack.Config.BuildStack.Config.UrlsStack.Config.DockerStack.Config.Nix Stack.Image Stack.ConfigStack.ConfigCmd Stack.Exec Stack.NewStack.Setup.Installed Stack.Sig.GPGStack.Sig.Sign Stack.UploadControl.Concurrent.ExecuteStack.Build.Execute Stack.Build Stack.Setup Stack.Docker Stack.Nix Stack.Solver Stack.Init Stack.Dot Stack.Ghci Stack.Ide Stack.Options Stack.Upgrade Stack.SDistSystem.Process.InternalcreateProcess_ loadConfig Stack.Types loadSourceMapdistRelativeDir Stack.SigFS removeTreeS ByteStringbinar_3uXFWMoAGBg0xKP9MHKRwiData.Binary.ClassBinaryputgetCabal_Ku2CIqstfjg7Z2SNHUypWHDistribution.Version VersionRangebinar_KFbNVH1d7qL3agyrTyMcCNData.Binary.TaggedHasStructuralInfoHasSemanticVersionstrea_FDgjqa6CVPZ2zy4YbsUfKWData.Streaming.ProcessProcessExitedUnsuccessfullyproce_52AgREEfSrnJLlkGV9YZZJSystem.Process readProcessdeeps_6vMKxt5sPFR0XsbRWvvq59Control.DeepSeqNFDatarnfhttpc_KOR3skrgzbXGs0H4TPJO7dNetwork.HTTP.Client.RequestparseUrlNetwork.HTTP.Client.TypesgetHttpManagerHasHttpManagermtl_Aue4leSeVkpKLsfHIV51E8Control.Monad.Reader.Classask MonadReaderprintExceptionStderr fileWatch fileWatchPollEditorExceptionEditorNotFoundEditorExitFailurePagerException PagerNotFoundPagerExitFailure pageWriterpageByteString pageBuilderpageFile pageStringeditFileeditReaderWritereditByteString editStringlogCreateProcess logProcessRunshowProcessArgDebugReadProcessException NoPathFoundExecutableNotFoundExecutableNotFoundAt EnvOverride eoTextMap eoStringListeoPath eoExeCacheeoExeExtension eoPlatform unEnvOverride envSearchPathmodifyEnvOverride mkEnvOverride envHelperreadProcessNull readInNulltryProcessStdoutreadProcessStdoutsinkProcessStdoutlogProcessStderrStdoutsinkProcessStderrStdoutsinkProcessStderrStdoutHandle preProcessdoesExecutableExistfindExecutablegetEnvOverride augmentPathaugmentPathMapCmdcmdDirectoryToRunIncmdCommandToRuncmdEnvOverridecmdCommandLineArgumentsrunCmdrunCmd' callProcess callProcess'callProcessInheritStderrStdoutcreateProcess'version getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName findFileUp findDirUp findFiles findInParentstoFilePathNoTrailingSepparseCollapsedAbsDirparseCollapsedAbsFiledropRootrejectMissingFilerejectMissingDircomplicatedOptions addCommandaddSubCommandscomplicatedParser boolFlagsboolFlagsNoDefaultmaybeBoolFlagsenableDisableFlagsenableDisableFlagsNoDefaultextraHelpOption execExtraHelp textOption textArgumentVerifiedDownloadExceptionWrongContentLengthWrongStreamLength WrongDigest LengthCheckCheckHexDigestCheckHexDigestStringCheckHexDigestByteStringCheckHexDigestHeader HashCheckhashCheckAlgorithmhashCheckHexDigestDownloadRequest drRequest drHashChecks drLengthCheck drRetryPolicydrRetryPolicyDefaultrecoveringHttpverifiedDownloadhasUpperhasLower mapMaybeA forMaybeA mapMaybeM forMaybeMrunOnce BinarySchemataggedEncodeFiletaggedDecodeOrLoaddecodeFileOrFailDeep appending alternatingpured concating EscapingModeEscaping NoEscaping parseArgs argsParser argsArgument argsOption cmdOptionparseArgsFromString JSONWarningJSONUnrecognizedFieldsWithJSONWarnings WarningParser.:.:?..:..:?..!= tellJSONFieldwithObjectWarningsunWarningParserlogJSONWarningsjsonSubWarningsjsonSubWarningsTjsonSubWarningsTTnoJSONWarningsDownloadExceptionDownloadJSONExceptionRedownloadFaileddownload redownload downloadJSONliftHTTP VersionCheck MatchMinor MatchExact NewerMinorVersion versionParser parseVersionparseVersionFromString versionString versionTexttoCabalVersionfromCabalVersion mkVersionversionRangeText withinRangeintersectVersionRangestoMajorVersionlatestApplicableVersionnextMajorVersion checkVersionCompilerVersion GhcVersion GhcjsVersion WhichCompilerGhcGhcjsparseCompilerVersioncompilerVersionTextcompilerVersionString whichCompilerisWantedCompiler getGhcVersioncompilerExeNamehaddockExeName $fFromJSONMap$fFromJSONCompilerVersion$fToJSONCompilerVersion$fNFDataCompilerVersion"$fHasStructuralInfoCompilerVersion$fBinaryCompilerVersion PackageNamePackageNameParseFailCabalFileNameParseFailCabalFileNameInvalidPackageNamepackageNameParser mkPackageNameparsePackageNameparsePackageNameFromStringpackageNameStringpackageNameTextfromCabalPackageNametoCabalPackageNameparsePackageNameFromFilePathpackageNameArgumentPackageIdentifierpackageIdentifierNamepackageIdentifierVersiontoTuple fromTuplepackageIdentifierParserparsePackageIdentifier parsePackageIdentifierFromStringpackageIdentifierStringpackageIdentifierText SigExceptionGPGFingerprintExceptionGPGNotFoundExceptionGPGSignExceptionGPGVerifyExceptionSigInvalidSDistTarBallSigNoProjectRootExceptionSigServiceException Fingerprint Signature mkFingerprintVersionRangeJSONunVersionRangeJSONDockerMonoidRepoOrImageDockerMonoidRepoDockerMonoidImageMountDockerStackExeDockerStackExeDownloadDockerStackExeHostDockerStackExeImageDockerStackExePathDockerOptsMonoiddockerMonoidDefaultEnabledockerMonoidEnabledockerMonoidRepoOrImagedockerMonoidRegistryLogindockerMonoidRegistryUsernamedockerMonoidRegistryPassworddockerMonoidAutoPulldockerMonoidDetachdockerMonoidPersistdockerMonoidContainerNamedockerMonoidRunArgsdockerMonoidMountdockerMonoidEnvdockerMonoidDatabasePathdockerMonoidStackExedockerMonoidSetUser dockerMonoidRequireDockerVersion DockerOpts dockerEnable dockerImagedockerRegistryLogindockerRegistryUsernamedockerRegistryPassworddockerAutoPull dockerDetach dockerPersistdockerContainerName dockerRunArgs dockerMount dockerEnvdockerDatabasePathdockerStackExe dockerSetUserdockerRequireDockerVersionparseDockerStackExedockerEnableArgNamedockerRepoArgNamedockerImageArgNamedockerRegistryLoginArgNamedockerRegistryUsernameArgNamedockerRegistryPasswordArgNamedockerAutoPullArgNamedockerDetachArgNamedockerRunArgsArgNamedockerMountArgNamedockerEnvArgNamedockerContainerNameArgNamedockerPersistArgNamedockerDatabasePathArgNamedockerStackExeArgNamedockerStackExeDownloadValdockerStackExeHostValdockerStackExeImageValdockerSetUserArgName!dockerRequireDockerVersionArgNamedockerEntrypointArgName$fFromJSONVersionRangeJSON$fFromJSONMount $fShowMount $fReadMount$fMonoidDockerOptsMonoid$fFromJSONWithJSONWarnings TemplateInfoauthor description TemplatePathAbsPathRelPathUrlPath TemplateNametemplateNameArgumenttemplateParamArgumentparseTemplateNameFromStringmkTemplateName templateName templatePath$fFromJSONTemplateInfo$fFromJSONTemplateNameFlagNameFlagNameParseFailflagNameParser mkFlagName parseFlagNameparseFlagNameFromStringflagNameString flagNameTextfromCabalFlagNametoCabalFlagNameMiniPackageInfo mpiVersionmpiFlagsmpiPackageDeps mpiToolDepsmpiExes mpiHasLibrary MiniBuildPlanmbpCompilerVersion mbpPackages SnapshotssnapshotsNightly snapshotsLts Component CompLibraryCompExecutable CompTestSuite CompBenchmarkDepInfo diComponentsdiRange SimpleDesc sdPackagessdToolssdProvidedExes sdModulesExeName unExeName Maintainer unMaintainer SystemInfosiCompilerVersionsiOSsiArchsiCorePackagessiCoreExecutables TestState ExpectSuccess ExpectFailure Don'tBuildPackageConstraintspcVersionRange pcMaintainerpcTests pcHaddockspcBuildBenchmarkspcFlagOverridespcEnableLibProfile PackagePlan ppVersion ppGithubPingsppUsers ppConstraintsppDesc BuildPlan bpSystemInfobpTools bpPackages bpGithubUsersSnapNameLTSNightlyrenderSnapName parseSnapNameGhcPkgId parseGhcPkgIdghcPkgIdParserghcPkgIdStringPackageDownloadpdSHA512pdUrlpdSizePackageCacheMap PackageCachepcOffsetpcSize pcDownload NixOptsMonoidnixMonoidDefaultEnablenixMonoidEnablenixMonoidPureShellnixMonoidPackagesnixMonoidInitFilenixMonoidShellOptions nixMonoidPathNixOpts nixEnable nixPureShell nixPackages nixInitFilenixShellOptionsnixEnableArgNamenixPureShellArgNamenixPackagesArgNamenixInitFileArgNamenixShellOptsArgNamenixPathArgName$fMonoidNixOptsMonoidImageOptsMonoidimgMonoidDockersImageDockerOpts imgDockerBaseimgDockerEntrypoints imgDockerAddimgDockerImageNameimgDockerExecutables ImageOpts imgDockers imgArgNameimgDockerOldArgNameimgDockersArgNameimgDockerBaseArgNameimgDockerAddArgNameimgDockerEntrypointsArgNameimgDockerImageNameArgNameimgDockerExecutablesArgName$fMonoidImageOptsMonoid$fFromJSONWithJSONWarnings0 UrlsMonoidurlsMonoidLatestSnapshoturlsMonoidLtsBuildPlansurlsMonoidNightlyBuildPlansUrlsurlsLatestSnapshoturlsLtsBuildPlansurlsNightlyBuildPlans$fMonoidUrlsMonoid FileWatchOpts NoFileWatch FileWatch FileWatchPollBenchmarkOptsMonoidbeoMonoidAdditionalArgsbeoMonoidDisableRun BenchmarkOptsbeoAdditionalArgs beoDisableRunTestOptsMonoidtoMonoidRerunTeststoMonoidAdditionalArgstoMonoidCoveragetoMonoidDisableRunTestOpts toRerunTeststoAdditionalArgs toCoverage toDisableRun BuildSubsetBSAllBSOnlySnapshotBSOnlyDependenciesBuildOptsMonoidbuildMonoidLibProfilebuildMonoidExeProfilebuildMonoidHaddockbuildMonoidOpenHaddocksbuildMonoidHaddockDepsbuildMonoidInstallExesbuildMonoidPreFetchbuildMonoidKeepGoingbuildMonoidForceDirtybuildMonoidTestsbuildMonoidTestOptsbuildMonoidBenchmarksbuildMonoidBenchmarkOptsbuildMonoidReconfigurebuildMonoidCabalVerbosebuildMonoidSplitObjs BuildCommandBuildTestHaddockBenchInstall BuildOptsCLIboptsCLITargetsboptsCLIDryrunboptsCLIGhcOptions boptsCLIFlagsboptsCLIBuildSubsetboptsCLIFileWatch boptsCLIExecboptsCLIOnlyConfigureboptsCLICommand BuildOptsboptsLibProfileboptsExeProfile boptsHaddockboptsOpenHaddocksboptsHaddockDepsboptsInstallExes boptsPreFetchboptsKeepGoingboptsForceDirty boptsTests boptsTestOptsboptsBenchmarksboptsBenchmarkOptsboptsReconfigureboptsCabalVerboseboptsSplitObjsdefaultBuildOptsdefaultBuildOptsCLIdefaultTestOptsdefaultBenchmarkOpts DockerUserduUidduGidduGroupsduUmaskDockerEntrypointdeUser PvpBounds PvpBoundsNonePvpBoundsUpperPvpBoundsLower PvpBoundsBothSetupInfoLocationSetupInfoFileOrURLSetupInfoInline SetupInfo siSevenzExe siSevenzDllsiMsys2siGHCssiGHCJSssiStackVersionedDownloadInfo vdiVersionvdiDownloadInfo DownloadInfodownloadInfoUrldownloadInfoContentLengthdownloadInfoSha1 GHCVariant GHCStandardGHCGMP4GHCArchGHCIntegerSimple GHCCustomPlatformVariantPlatformVariantNoneSCMGitProjectAndConfigMonoidConfigExceptionParseConfigFileExceptionParseResolverExceptionNoProjectConfigFoundUnexpectedArchiveContentsUnableToExtractArchiveBadStackVersionExceptionNoMatchingSnapshotResolverMismatchResolverPartialNoSuchDirectoryParseGHCVariantException BadStackRoot3Won'tCreateStackRootInDirectoryOwnedByDifferentUserUserDoesn'tOwnDirectory ConfigMonoidconfigMonoidStackRootconfigMonoidWorkDirconfigMonoidBuildOptsconfigMonoidDockerOptsconfigMonoidNixOptsconfigMonoidConnectionCountconfigMonoidHideTHLoadingconfigMonoidLatestSnapshotUrlconfigMonoidUrlsconfigMonoidPackageIndicesconfigMonoidSystemGHCconfigMonoidInstallGHCconfigMonoidSkipGHCCheckconfigMonoidSkipMsysconfigMonoidCompilerCheckconfigMonoidRequireStackVersionconfigMonoidOSconfigMonoidArchconfigMonoidGHCVariantconfigMonoidJobsconfigMonoidExtraIncludeDirsconfigMonoidExtraLibDirsconfigMonoidConcurrentTestsconfigMonoidLocalBinPathconfigMonoidImageOptsconfigMonoidTemplateParametersconfigMonoidScmInitconfigMonoidGhcOptionsconfigMonoidExtraPathconfigMonoidSetupInfoLocationsconfigMonoidPvpBoundsconfigMonoidModifyCodePageconfigMonoidExplicitSetupDepsconfigMonoidRebuildGhcOptionsconfigMonoidApplyGhcOptionsconfigMonoidAllowNewerconfigMonoidDefaultTemplateconfigMonoidAllowDifferentUserHasBuildConfiggetBuildConfig HasConfig getConfig HasGHCVariant getGHCVariant HasPlatform getPlatformgetPlatformVariant HasStackRoot getStackRootResolverResolverSnapshotResolverCompilerResolverCustomProjectprojectUserMsgprojectPackagesprojectExtraDeps projectFlagsprojectResolverprojectCompilerprojectExtraPackageDBsRemotePackageTypeRPTHttpRPTGitRPTHgPackageLocation PLFilePathPLRemoteTreatLikeExtraDep PackageEntry peExtraDep peLocation peSubdirs LoadConfiglcConfiglcLoadBuildConfig lcProjectRoot HasEnvConfig getEnvConfig EnvConfigenvConfigBuildConfigenvConfigCabalVersionenvConfigCompilerVersionenvConfigPackages BuildConfigbcConfig bcResolverbcWantedCompilerbcPackageEntries bcExtraDepsbcExtraPackageDBs bcStackYamlbcFlagsbcImplicitGlobal bcGHCVariantAbstractResolverARLatestNightly ARLatestLTSARLatestLTSMajor ARResolverARGlobalGlobalOptsMonoidglobalMonoidReExecVersionglobalMonoidDockerEntrypointglobalMonoidLogLevelglobalMonoidConfigMonoidglobalMonoidResolverglobalMonoidCompilerglobalMonoidTerminalglobalMonoidStackYaml GlobalOptsglobalReExecVersionglobalDockerEntrypointglobalLogLevelglobalConfigMonoidglobalResolverglobalCompilerglobalTerminalglobalStackYamlEvalOptsevalArg evalExtra ExecOptsExtra ExecOptsPlainExecOptsEmbellished eoEnvSettings eoPackagesSpecialExecCmdExecCmdExecGhc ExecRunGhcExecOptseoCmdeoArgseoExtra EnvSettingsesIncludeLocalsesIncludeGhcPackagePath esStackExe esLocaleUtf8 IndexLocationILGitILHttp ILGitHttp IndexName unIndexName PackageIndex indexName indexLocationindexDownloadPrefixindexGpgVerifyindexRequireHashesApplyGhcOptions AGOTargets AGOLocals AGOEverythingConfigconfigStackRoot configWorkDirconfigUserConfigPath configBuild configDocker configNixconfigEnvOverrideconfigLocalProgramsBaseconfigLocalProgramsconfigConnectionCountconfigHideTHLoadingconfigPlatformconfigPlatformVariantconfigGHCVariant0 configUrlsconfigPackageIndicesconfigSystemGHCconfigInstallGHCconfigSkipGHCCheckconfigSkipMsysconfigCompilerCheckconfigLocalBinconfigRequireStackVersion configJobsconfigExtraIncludeDirsconfigExtraLibDirsconfigConfigMonoidconfigConcurrentTests configImageconfigTemplateParams configScmInitconfigGhcOptionsconfigSetupInfoLocationsconfigPvpBoundsconfigModifyCodePageconfigExplicitSetupDepsconfigRebuildGhcOptionsconfigApplyGhcOptionsconfigAllowNewerconfigDefaultTemplateconfigAllowDifferentUserconfigPackageCachesconfigMaybeProject indexNameTextdefaultLogLevelbcRoot bcWorkDir resolverNameparseResolverText askConfigaskLatestSnapshotUrlconfigPackageIndexRootconfigPackageIndexCacheconfigPackageIndexconfigPackageIndexGzconfigPackageTarball getWorkDirgetProjectWorkDirconfigInstalledCacheplatformOnlyRelDir snapshotsDirinstallationRootDepsinstallationRootLocalplatformGhcRelDiruseShaPathOnWindowspackageDatabaseDepspackageDatabaseLocalpackageDatabaseExtraflagCacheLocalconfigMiniBuildPlanCache bindirSuffix docDirSuffix hpcReportDir extraBinDirsgetMinimalEnvOverrideminimalEnvSettingsgetWhichCompilergetCompilerPathghcVariantNameghcVariantSuffixparseGHCVariantparsePvpBoundsexplicitSetupDepshaskellModuleExtsobjectInterfaceDirbuildCacheFiletestSuccessFile testBuiltFileconfigCacheFileconfigCabalMod hpcDirFromDirhpcRelativeDirdistDirFromDirworkDirFromDir templatesDirprojectDockerSandboxDirimageStagingDirstackProgNameUpper stackProgName stackDotYamlstackRootEnvVarstackRootOptionNamedeprecatedStackRootOptionNameinContainerEnvVarwiredInPackagesghcjsBootPackagescabalPackageName"implicitGlobalProjectDirDeprecatedimplicitGlobalProjectDirdefaultUserConfigPathDeprecateddefaultUserConfigPath!defaultGlobalConfigPathDeprecateddefaultGlobalConfigPath buildPlanDirplatformVariantEnvVarinterpreterArgsParsergetInterpreterArgs HasSticky getStickyStickyunStickyHasSupportsUnicodegetSupportsUnicode HasReExec getReExec HasTerminal getTerminal HasLogLevel getLogLevelEnv envConfig envLogLevel envTerminal envReExec envManager envStickyenvSupportsUnicode envEnvConfigbuildOptsMonoidHaddockbuildOptsMonoidTestsbuildOptsMonoidBenchmarksbuildOptsMonoidInstallExesbuildOptsInstallExesenvConfigBuildOptsglobalOptsBuildOptsMonoid$fHasStickyEnv$fHasSupportsUnicodeEnv$fHasReExecEnv$fHasTerminalEnv$fHasLogLevelLogLevel$fHasLogLevelEnv$fHasHttpManagerEnv$fHasEnvConfigEnv$fHasBuildConfigEnv$fHasConfigEnv$fHasGHCVariantEnv$fHasPlatformEnv$fHasStackRootEnv StackLoggingTStackTrunStackTGlobal runStackTrunInnerStackTrunInnerStackLoggingTrunStackLoggingTGlobalrunStackLoggingT newTLSManager logSticky logStickyDoneDockerImageLastUsedDockerImageExeIdDockerImageProjectIdupdateDockerImageLastUsedgetDockerImagesLastUsedpruneDockerImagesLastUsedgetDockerImageExesetDockerImageExe 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 PackageConfigpackageConfigEnableTestspackageConfigEnableBenchmarkspackageConfigFlagspackageConfigCompilerVersionpackageConfigPlatformPackageWarningUnlistedModulesWarningMissingModulesWarningGetPackageFilesgetPackageFiles CabalFileTypeAllFilesModules BuildInfoOptsbioOptsbioOneWordOptsbioPackageFlagsbioCabalMacrosGetPackageOptsgetPackageOptsPackage packageNamepackageVersion packageFiles packageDeps packageToolspackageAllDeps packageFlagspackageDefaultFlagspackageHasLibrary packageTestspackageBenchmarks packageExes packageOptspackageHasExposedModulespackageSimpleTypePackageExceptionPackageInvalidCabalFilePackageNoCabalFileFoundPackageMultipleCabalFilesFoundMismatchedCabalNamepackageIdentifierpackageDefinedFlagsrenderComponentrenderPkgComponentsrenderPkgComponent exeComponentstestComponentsbenchComponentsisCLibisCExeisCTestisCBenchdotCabalModule dotCabalMaindotCabalModulePathdotCabalMainPathdotCabalCFilePathdotCabalGetPathinstalledPackageIdentifierinstalledVersion$fHasSemanticVersionModTime$fHasStructuralInfoModTime$fNFDataFileCacheInfo $fHasStructuralInfoFileCacheInfo$fBinaryFileCacheInfo$fMonoidInstallLocation!$fPackageInstallInfoPackageSource $fEqPackage $fOrdPackage$fShowPackageWarning$fShowGetPackageFiles$fShowGetPackageOpts$fShowPackageException$fExceptionPackageExceptionPrecompiledCache pcLibrarypcExes ConfigureOptscoDirscoNoDirsBaseConfigOpts bcoSnapDB bcoLocalDBbcoSnapInstallRootbcoLocalInstallRoot bcoBuildOptsbcoBuildOptsCLI bcoExtraDBsPlan planTasks planFinalsplanUnregisterLocalplanInstallExesTaskTypeTTLocal TTUpstreamTaskConfigOpts tcoMissingtcoOptsTask taskProvidestaskTypetaskConfigOpts taskPresent taskAllInOne ConfigCacheconfigCacheOptsconfigCacheDepsconfigCacheComponentsconfigCacheHaddock BadDependencyNotInBuildPlanCouldn'tResolveItsDependenciesDependencyMismatchConstructPlanExceptionDependencyCycleDetectedDependencyPlanFailuresUnknownPackage UnusedFlags UFNoPackageUFFlagsNotDefined UFSnapshot FlagSource FSCommandLine FSStackYamlStackBuildExceptionCouldn'tFindPkgIdCompilerVersionMismatchCouldn'tParseTargetsUnknownTargetsTestSuiteFailureTestSuiteTypeUnsupportedConstructPlanExceptionsCabalExitedUnsuccessfullyExecutionFailureLocalPackageDoesn'tMatchTargetNoSetupHsFoundInvalidFlagSpecificationTargetParseExceptionDuplicateLocalPackageNames SolverGiveUpSolverMissingCabalInstallSomeTargetsNotBuildableTestSuiteExeMissingCabalCopyFailed taskLocation configureOpts isStackOptwantedLocalPackagesmodTime NeedTargetsAllowNoTargets SimpleTarget STUnknown STNonLocal STLocalComps STLocalAllLocalPackageView lpvVersionlpvRoot lpvCabalFP lpvComponents lpvExtraDep RawTargetRTPackageComponent RTComponent RTPackageRTPackageIdentifierUnresolvedComponentResolvedComponent ComponentNameparseRawTarget parseTargets getGlobalDBcreateDatabase ghcPkgExeNameunregisterGhcPkgIdgetCabalPkgVermkGhcPackagePathbuildCacheTimesgetInstalledExesmarkExeInstalledmarkExeNotInstalledtryGetBuildCachetryGetConfigCachetryGetCabalModwriteBuildCachewriteConfigCache writeCabalMod deleteCachestryGetFlagCachewriteFlagCachesetTestSuccessunsetTestSuccesscheckTestSuccesswritePrecompiledCachereadPrecompiledCacheLine DumpPackage dpGhcPkgIddpPackageIdent dpLibDirs dpLibrariesdpHasExposedModules dpDependsdpHaddockInterfaces dpHaddockHtml dpProfiling dpHaddock dpIsExposedInstalledCacheEntryinstalledCacheProfilinginstalledCacheHaddockinstalledCacheIdentInstalledCache ghcPkgDumpghcPkgDescribenewInstalledCacheloadInstalledCachesaveInstalledCache pruneDeps sinkMatching addProfiling addHaddockconduitDumpPackage eachSectioneachPairopenHaddocksInBrowsershouldHaddockPackageshouldHaddockDepsgenerateLocalHaddockIndexgenerateDepsHaddockIndexgenerateSnapHaddockIndexGetInstalledOptsgetInstalledProfilinggetInstalledHaddock getInstalledreadPackageUnresolvedreadPackageUnresolvedBS readPackage readPackageBSreadPackageDescriptionDirprintCabalFileWarningcheckCabalFileNameresolvePackage autogenDirpackageDependenciespackageToolDependenciesresolvePackageDescriptionfindOrGenerateCabalFilehpack buildLogPathcabalFilePackageIdupdateAllIndicesgetPackageVersionsIOgetPackageVersionslookupPackageVersionsgetPackageCachesIOgetPackageCachesResolvedPackagerpCacherpIndex fetchPackagesunpackPackagesunpackPackageIdentsresolvePackagesresolvePackagesAllowMissingwithCabalFileswithCabalLoaderBuildPlanCheckBuildPlanCheckOkBuildPlanCheckPartialBuildPlanCheckFailDepError deVersion deNeededBy DepErrorsBuildPlanExceptionUnknownPackagesSnapshotNotFoundresolveBuildPlan getToolMaploadMiniBuildPlan gpdPackagesgpdPackageNamegpdPackageDepsremoveSrcPkgDefaultFlagscheckSnapBuildPlanselectBestSnapshot showItemsshowPackageFlagsshadowMiniBuildPlanparseCustomMiniBuildPlanparseTargetsFromBuildOptsgetLocalPackageViewsloadLocalPackage localFlagsaddUnlistedToBuildCachegetPackageConfig constructPlan HpcReportOpts hroptsInputs hroptsAll hroptsDestDirdeleteHpcReports updateTixFilegenerateHpcReportgenerateHpcReportForTargetsgenerateHpcUnifiedReportgenerateHpcMarkupIndexStackCleanExceptionNonLocalPackages CleanOpts CleanShallow CleanFullcleanbuildOptsFromMonoidtestOptsFromMonoidbenchmarkOptsFromMonoidurlsFromMonoidStackDockerConfigExceptionResolverNotSupportedExceptionInvalidDatabasePathExceptiondockerOptsFromMonoid $fShowStackDockerConfigException%$fExceptionStackDockerConfigExceptionStackNixException)NixCannotUseShellFileAndPackagesExceptionnixOptsFromMonoid nixCompilerstageContainerImageArtifactscreateContainerImageFromStage imgCmdNameimgDockerCmdNameimgOptsFromMonoid MiniConfiggetImplicitGlobalProjectDir getSnapshotsmakeConcreteResolver getIsGMP4loadMiniConfigresolvePackageEntrycheckOwnershipgetInContainerpackagesParser ConfigCmdSetConfigCmdSetResolver cfgCmdSet cfgCmdName cfgCmdSetNamedefaultEnvSettingsplainEnvSettingsexec execSpawnNewOptsnewOptsProjectNamenewOptsCreateBarenewOptsTemplatenewOptsNonceParamsnew listTemplates getTemplatesdefaultTemplateName ExtraDirsedBins edIncludeedLibTool ToolGhcjs toolStringtoolNameString parseToolText markInstalledunmarkInstalled listInstalledgetCompilerVersion extraDirs installDirgpgSign gpgVerifysign signTarBytes signPackageUploadSettingsUploaderFromFileHackageCredsSource HackageCreds loadCreds saveCreds fromPromptfromFile fromMemory fromAnywhere nopUploader mkUploaderupload uploadBytesdefaultUploadSettings setUploadUrl setGetManagersetCredsSource setSaveCreds ActionContext acRemainingActionactionId actionDepsactionDoActionId ActionTypeATBuild ATBuildFinalATFinal runActions ExecuteEnvpreFetch printPlanwithExecuteEnv executePlanwithSingleContextCabalVersionExceptionunCabalVersionExceptionbuildsplitObjsWarningmkBaseConfigOptswithLoadPackagequeryBuildInfo SetupOptssoptsInstallIfMissingsoptsUseSystemsoptsWantedCompilersoptsCompilerChecksoptsStackYamlsoptsForceReinstallsoptsSanityChecksoptsSkipGhcCheck soptsSkipMsyssoptsUpgradeCabalsoptsResolveMissingGHCsoptsStackSetupYamlsoptsGHCBindistURLdefaultStackSetupYamlsetupEnvensureCompilerensureDockerStackExegetSystemCompilerremoveHaskellEnvVarsStackDockerExceptionDockerMustBeEnabledExceptionOnlyOnHostExceptionInspectFailedExceptionNotPulledExceptionInvalidCleanupCommandExceptionInvalidImagesOutputExceptionInvalidPSOutputExceptionInvalidInspectOutputExceptionPullFailedExceptionDockerTooOldException DockerVersionProhibitedExceptionBadDockerVersionExceptionInvalidVersionOutputExceptionHostStackTooOldExceptionContainerStackTooOldException#CannotDetermineProjectRootExceptionDockerNotInstalledException(UnsupportedStackExeHostPlatformException CleanupActionCleanupInteractiveCleanupImmediate CleanupDryRun CleanupOptsdcAction"dcRemoveKnownImagesLastUsedDaysAgo#dcRemoveUnknownImagesCreatedDaysAgo$dcRemoveDanglingImagesCreatedDaysAgo'dcRemoveStoppedContainersCreatedDaysAgo'dcRemoveRunningContainersCreatedDaysAgoreexecWithOptionalContainerpreventInContainercleanuppullreset entrypoint dockerCmdNamedockerHelpOptNamedockerPullCmdNamedockerCleanupCmdName reExecArgNamereexecWithOptionalShell nixCmdNamenixHelpOptNamemergeConstraintssolveResolverSpecgetResolverConstraintscheckResolverSpecfindCabalFilescabalPackagesChecksolveExtraDepsInitOpts searchDirs useSolver omitPackagesforceOverwriteincludeSubDirs initProjectDotOptsdotIncludeExternaldotIncludeBasedotDependencyDepthdotPrunedotlistDependencies pruneGraphresolveDependencies printGraph GhciExceptionInvalidPackageOptionLoadingDuplicateModules GhciPkgInfo ghciPkgName ghciPkgOpts ghciPkgDirghciPkgModulesghciPkgModFiles ghciPkgCFiles ghciPkgMainIsghciPkgPackageGhciOpts ghciNoBuildghciArgsghciGhcCommandghciNoLoadModulesghciAdditionalPackages ghciMainIsghciLoadLocalDepsghciSkipIntermediateghciHidePackagesghciBuildOptsCLIghci ghciSetupidegetPackageOptsAndTargetFiles ideGhciOptsGlobalOptsContextOuterGlobalOptsOtherCmdGlobalOptsBuildCmdGlobalOptsbenchOptsParserbuildOptsParsercleanOptsParserconfigOptsParser nixOptsParserdockerOptsParserdockerCleanupOptsParser dotOptsParserghciOptsParserexecOptsParserevalOptsParserglobalOptsParserglobalOptsFromMonoidinitOptsParserlogLevelOptsParsersolverOptsParsertestOptsParser newOptsParserhpcReportOptsParserpvpBoundsOptionconfigCmdSetParserupgradegetSDistTarballcheckSDistTarballcheckSDistTarball' fileWatchConforElse$fExceptionEditorException$fShowEditorException$fExceptionPagerException$fShowPagerExceptionbase System.ExitexitWithbytes_6VWy06pWzJq9evDvK2d4w6Data.ByteString.Internal PathExceptionPathsInvalidInPath$fShowPathException$fExceptionPathException$fExceptionReadProcessException$fShowReadProcessExceptionGHC.IO.Handle.TypesHandleSystem.Process.Internals UseHandlecmdToCreateProcesscatchIObindirlibdirdatadir libexecdir sysconfdir findPathUppath_ELzhNcSBf8BItkzcVKmEWzPathparentGHC.BaseJust isSymLink parseAbsDir parseAbsFilecollapseFilePathMaybeNothingpathi_0WOk2xRTVgSIrpuywoezIYPath.IOforgivingAbsence resolveFilecanonicalizePath addCommand' helpOptionoptpa_FpNJ7fLofFNEy3rK4ZnBoDOptions.Applicative.ExtrahandleParseResult hsubparser'ghc-prim GHC.TypesBool<|>Options.Applicative.Builder abortOptionoptiontext_HmqVQnZSpjaC156ABqPhneData.Text.InternalTextargument sinkCheckHash sinkHashUsinghashChecksToZipSinkVerifyFileException WrongFileSizedisplayByteStringdisplayCheckHexDigestassertLengthSink$fExceptionVerifyFileException$$fExceptionVerifiedDownloadException$fShowVerifiedDownloadException$fIsStringCheckHexDigest Data.MaybemapMaybe GHC.Classes==flipDecodeFileFailure$fExceptionDecodeFileFailure$fShowDecodeFileFailureWarningParserMonoidaeson_DFvprtDBUdB2suCwa7lgtvData.Aeson.Types.Instances withObjectData.Aeson.Types.InternalParserwpmExpectedFields wpmWarnings$fShowJSONWarning$fMonoidWithJSONWarnings$fFunctorWithJSONWarnings$fMonoidWarningParserMonoid Data.AesoneitherDecodeStrict' eitherDecode'eitherDecodeStrict eitherDecode decodeStrict'decode' decodeStrictdecodeData.Aeson.Parser.Internaljson'jsonData.Aeson.Encode.ByteStringencode.!=fromJSON.=withBoolwithScientific withNumber withArraywithTextData.Aeson.Types.ClassgenericParseJSON genericToJSONgToJSONGToJSON gParseJSON GFromJSONtoJSONToJSON parseJSONFromJSONobjectSuccessErrorResultObjectArrayNullNumberStringValuefromDotNetTime DotNetTimeTrueFalseManager$fExceptionDownloadExceptionVersionParseFail unVersion$fFromJSONVersionCheck$fToJSONVersionCheck$fFromJSONVersion$fToJSONVersion $fShowVersion $fLiftVersion$fHashableVersion$fHasStructuralInfoVersion$fShowVersionParseFail$fExceptionVersionParseFail $fToJSONMap$fFromJSONPackageName$fToJSONPackageName$fHasStructuralInfoPackageName$fShowPackageName$fLiftPackageName$fShowPackageNameParseFail$fExceptionPackageNameParseFailPackageIdentifierParseFail$fFromJSONPackageIdentifier$fToJSONPackageIdentifier$fShowPackageIdentifier$$fHasStructuralInfoPackageIdentifier$fBinaryPackageIdentifier$fHashablePackageIdentifier$fNFDataPackageIdentifier%$fExceptionPackageIdentifierParseFail $fShowPackageIdentifierParseFailAeson_unAesonhexText$fShowSigException$fExceptionSigException$fFromJSONAeson$fIsStringFingerprint$fToJSONFingerprint$fFromJSONFingerprint$fShowFingerprint$fShowSignature$fFromJSONFlagName$fShowFlagName$fLiftFlagName $fOrdFlagName $fEqFlagName$fHasStructuralInfoFlagName$fShowFlagNameParseFail$fExceptionFlagNameParseFailBuildPlanTypesExceptionParseSnapNameExceptionParseFailedExceptiondisplay simpleParsetestStateToText compToText$fNFDataMiniPackageInfo"$fHasStructuralInfoMiniPackageInfo$fBinaryMiniPackageInfo!$fHasSemanticVersionMiniBuildPlan $fHasStructuralInfoMiniBuildPlan$fNFDataMiniBuildPlan$fBinaryMiniBuildPlan$fFromJSONSnapshots$fFromJSONComponent$fToJSONComponent$fFromJSONDepInfo$fToJSONDepInfo$fMonoidDepInfo$fFromJSONSimpleDesc$fToJSONSimpleDesc$fMonoidSimpleDesc$fFromJSONExeName$fToJSONExeName$fHasStructuralInfoExeName$fFromJSONSystemInfo$fToJSONSystemInfo$fFromJSONTestState$fToJSONTestState$fFromJSONPackageConstraints$fToJSONPackageConstraints$fShowBuildPlanTypesException"$fExceptionBuildPlanTypesException$fFromJSONPackagePlan$fToJSONPackagePlan$fFromJSONBuildPlan$fToJSONBuildPlanGhcPkgIdParseFail$fToJSONGhcPkgId$fFromJSONGhcPkgId$fShowGhcPkgId$fHasStructuralInfoGhcPkgId$fNFDataGhcPkgId$fBinaryGhcPkgId$fHashableGhcPkgId$fExceptionGhcPkgIdParseFail$fShowGhcPkgIdParseFail$fFromJSONPackageDownload$fNFDataPackageDownload"$fHasStructuralInfoPackageDownload$fBinaryPackageDownload#$fHasSemanticVersionPackageCacheMap"$fHasStructuralInfoPackageCacheMap$fHasStructuralInfoPackageCache$fNFDataPackageCache$fBinaryPackageCachebuildMonoidLibProfileArgNamebuildMonoidExeProfileArgNamebuildMonoidHaddockArgNamebuildMonoidOpenHaddocksArgNamebuildMonoidHaddockDepsArgNamebuildMonoidInstallExesArgNamebuildMonoidPreFetchArgNamebuildMonoidKeepGoingArgNamebuildMonoidForceDirtyArgNamebuildMonoidTestsArgNamebuildMonoidTestOptsArgNamebuildMonoidBenchmarksArgNamebuildMonoidBenchmarkOptsArgNamebuildMonoidReconfigureArgNamebuildMonoidCabalVerboseArgNamebuildMonoidSplitObjsNametoMonoidRerunTestsArgNametoMonoidAdditionalArgsNametoMonoidCoverageArgNametoMonoidDisableRunArgNamebeoMonoidAdditionalArgsArgNamebeoMonoidDisableRunArgName$fMonoidBenchmarkOptsMonoid$fMonoidTestOptsMonoid$fMonoidBuildOptsMonoid$fFromJSONWithJSONWarnings1parseConfigMonoidJSONplatformSnapAndCompilerRelpackageEntryCurrDirplatformVariantSuffixparseDownloadInfoFromObject$fMonoidSetupInfoconfigMonoidWorkDirNameconfigMonoidBuildOptsNameconfigMonoidDockerOptsNameconfigMonoidNixOptsNameconfigMonoidConnectionCountNameconfigMonoidHideTHLoadingName!configMonoidLatestSnapshotUrlNameconfigMonoidUrlsNameconfigMonoidPackageIndicesNameconfigMonoidSystemGHCNameconfigMonoidInstallGHCNameconfigMonoidSkipGHCCheckNameconfigMonoidSkipMsysName#configMonoidRequireStackVersionNameconfigMonoidOSNameconfigMonoidArchNameconfigMonoidGHCVariantNameconfigMonoidJobsName configMonoidExtraIncludeDirsNameconfigMonoidExtraLibDirsNameconfigMonoidConcurrentTestsNameconfigMonoidLocalBinPathNameconfigMonoidImageOptsNameconfigMonoidScmInitName"configMonoidTemplateParametersNameconfigMonoidCompilerCheckNameconfigMonoidGhcOptionsNameconfigMonoidExtraPathName"configMonoidSetupInfoLocationsNameconfigMonoidPvpBoundsNameconfigMonoidModifyCodePageName!configMonoidExplicitSetupDepsName!configMonoidRebuildGhcOptionsNameconfigMonoidApplyGhcOptionsNameconfigMonoidAllowNewerNameconfigMonoidDefaultTemplateName"configMonoidAllowDifferentUserNamecompilerVersionDir pvpBoundsText$fFromJSONPvpBounds$fToJSONPvpBounds$fFromJSONWithJSONWarnings2$fFromJSONGHCVariant $fToJSONSCM $fFromJSONSCM$fFromJSONWithJSONWarnings3$fExceptionConfigException$fShowConfigException$fFromJSONWithJSONWarnings4$fMonoidConfigMonoid$fHasBuildConfigBuildConfig$fHasConfigBuildConfig$fHasGHCVariantBuildConfig$fHasPlatformBuildConfig$fHasStackRootBuildConfig$fHasConfigConfig$fHasPlatformConfig$fHasStackRootConfig$fHasGHCVariantGHCVariant$fHasPlatform(,)$fFromJSONWithJSONWarnings5$fToJSONResolver$fToJSONProject$fFromJSONWithJSONWarnings6$fToJSONPackageLocation$fFromJSONWithJSONWarnings7$fToJSONPackageEntry$fHasEnvConfigEnvConfig$fHasStackRootEnvConfig$fHasGHCVariantEnvConfig$fHasPlatformEnvConfig$fHasConfigEnvConfig$fHasBuildConfigEnvConfig$fMonoidGlobalOptsMonoid$fFromJSONIndexName$fToJSONIndexName$fFromJSONWithJSONWarnings8$fFromJSONApplyGhcOptionshaskellFileExtshaskellPreprocessorExts LoggingEnvgetCanUseUnicodereplaceUnicode loggerFunctimestampLength withSticky$fMonadLoggerStackLoggingT$fMonadLoggerStackTunStackLoggingT lenvLogLevel lenvTerminal lenvReExec lenvManager lenvStickylenvSupportsUnicodeunStackTstickyLoggerFunc$fHasSupportsUnicodeLoggingEnv$fHasReExecLoggingEnv$fHasTerminalLoggingEnv$fHasHttpManagerLoggingEnv$fHasLogLevelLoggingEnv$fHasStickyLoggingEnv $fMonadTransControlStackLoggingT $fMonadBaseControlbStackLoggingT$fMonadTransControlStackT$fMonadBaseControlbStackT withGlobalDBDockerImageExedockerImageExeImageHashdockerImageExeExePathdockerImageExeExeTimestampdockerImageExeCompatibleDockerImageProjectdockerImageProjectImageHashdockerImageProjectProjectPathdockerImageProjectLastUsedTimeDockerImageExeUniqueDockerImageExeKeyunDockerImageExeKeyDockerImageExeImageHashDockerImageExeExePathDockerImageExeExeTimestampDockerImageExeCompatibleDockerImageProjectPathKeyDockerImageProjectKeyunDockerImageProjectKeyDockerImageProjectImageHashDockerImageProjectProjectPathDockerImageProjectLastUsedTime migrateTables)TFCo:R:PersistEntityBackendDockerImageExe PkgDepsOracleLatestApplicableVersionconfigureOptsNoDirPkgDepsmissingExeErrorconfigureOptsDirs$fNFDataPrecompiledCache#$fHasStructuralInfoPrecompiledCache$$fHasSemanticVersionPrecompiledCache$fBinaryPrecompiledCache$fNFDataConfigureOpts $fHasStructuralInfoConfigureOpts$fBinaryConfigureOpts$fShowTaskConfigOpts$fHasSemanticVersionConfigCache$fHasStructuralInfoConfigCache$fNFDataConfigCache$fBinaryConfigCache$fShowConstructPlanException$fExceptionStackBuildException$fShowStackBuildExceptionparseRawTargetDirs RawTargetType HasIdentsNoIdentsRawInput unRawInput resolveIdentsresolveRawTarget isCompNamedsimplifyTargetsghcPkgpackageDbFlagsfindGhcPkgFieldfindGhcPkgVersion BuildCacheexeInstalledDir tryGetCache writeCacheprecompiledCacheFile flagCacheFile$fNFDataBuildCache$fHasSemanticVersionBuildCache$fHasStructuralInfoBuildCache$fBinaryBuildCache ghcPkgCmdArgs takeWhileCPackageDumpExceptionMissingSingleFieldCouldn'tParseFieldInstalledCacheInner isProfilingstripPrefixTextstripSuffixText$fShowPackageDumpException$fExceptionPackageDumpException$fNFDataInstalledCacheEntry&$fHasStructuralInfoInstalledCacheEntry$fBinaryInstalledCacheEntry'$fHasSemanticVersionInstalledCacheInner&$fHasStructuralInfoInstalledCacheInnergenerateHaddockIndexlookupDumpPackagehaddockIndexFile localDocDirlocalDepsDocDir snapDocDir loadDatabase isAllowed LoadHelperlhIdlhDepslhPairAllowedNeedsProfiling NeedsHaddock UnknownPkg WrongLocation WrongVersionMprocessLoadResult toLoadHelpertoPackageLocationDistribution.PackageDescriptionGenericPackageDescriptionPackageDescriptiongeneratePkgDescOptsgenerateBuildInfoOptsmakeObjectFilePathFromCfileGenDirFromComponentNamebuildDirgetBuildComponentDirpackageDescTools allBuildInfo'packageDescModulesAndFilesresolveGlobFilesmatchDirFileGlob_benchmarkFiles testFilesexecutableFiles libraryFilesbuildOtherSourcestargetJsSourcesflagMapmkResolveConditionsresolveConditionsdepNamedepRangeresolveFilesAndDepsgetDependencies parseDumpHI resolveFiles findCandidate warnMultiplelogPossibilitiesexcep_6lgwjdgwblY7rzh5s6SLd8Control.Monad.CatchthrowMresolveFileOrWarnresolveDirOrWarnResolveConditionsrcFlagsrcCompilerVersionrcOSrcArch resolveOrWarn populateCache requireIndex updateIndexupdateIndexGitupdateIndexHTTPisGitInstalled deleteCacheIOclearPackageCachesentrySizeInBlocksPackageIndexExceptionGitNotAvailableMissingRequiredHashes$fShowPackageIndexException $fExceptionPackageIndexExceptiontfCabalfuzzyLookupCandidatestypoCorrectionCandidates getToFetchfetchPackages' ToFetchResult tfrToFetchtfrAlreadyUnpackedToFetch tfTarball tfDestDirtfUrltfSizetfSHA512FetchExceptionCouldn'tReadIndexTarballCouldn'tReadPackageTarballUnpackDirectoryAlreadyExistsCouldNotParsePackageSelectorsUnknownPackageNamesUnknownPackageIdentifiers PackageCacheslookupPackageIdentifierExactparMapM_damerauLevenshtein orSeparatedcommaSeparated$fShowFetchException$fExceptionFetchException rsVisitedaddDepsgetDepsbuildPlanFixes loadBuildPlanselectPackageBuildPlancheckPackageBuildPlancheckPackageDepscheckBundleBuildPlancompareBuildPlanCheckCustomSnapshotcsCompilerVersion csPackagescsFlags ResolveState rsUnknown rsShadowed rsToInstallrsUsedBytoMiniBuildPlanbuildBuildPlanUrlshowMapPackagesshowCompilerErrors showDepErrors$fFromJSONCustomSnapshot$fShowBuildPlanCheck$fMonoidDepError$fShowBuildPlanException$fExceptionBuildPlanExceptionconvertSnapshotToExtracheckDuplicateNamescheckFlagsUsedextendExtraDepscheckBuildCachegetPackageFilesSimplegetModTimeMaybecalcFcisplitComponentscheckComponentsBuildablewInstallwDirtywDeps wWarningsmkUnregisterLocalpackageDepsWithTools stripLocals inSnapshot ToolWarning NoToolFoundAmbiguousToolsFoundCtxmbpbaseConfigOpts loadPackage combinedMaptoolToPackages ctxEnvConfig callStack extraToBuild getVersionswanted localNamesWwFinals AddDepRes ADRToInstallADRFound CombinedMap PackageInfoPIOnlyInstalled PIOnlySourcePIBothcombineSourceInstalled combineMapaddFinaladdDeptellExecutablestellExecutablesUpstreamtellExecutablesPackageinstallPackageresolveDepsAndInstallinstallPackageGivenDeps addEllipsisaddPackageDepscheckDirtinessdescribeConfigDiff psForceDirtypsDirtypsWantedpsLocal isNoToolFoundtoolWarningText stripNonDeps markAsDep$fHasEnvConfigCtx$fHasBuildConfigCtx$fHasConfigCtx$fHasGHCVariantCtx$fHasPlatformCtx$fHasStackRootCtx $fMonoidW hpcPkgPath tixFilePathremoveExeModulesGHC.Real/generateHpcReportInternalgenerateUnionReport readTixOrLog unionTixesgenerateHpcErrorReport pathToHtmlsanitize dirnameStringfindPackageKeyForBuiltPackage dirsToDelete$fExceptionStackCleanException$fShowStackCleanException$fShowStackNixException$fExceptionStackNixExceptionStackImageException(StackImageDockerBaseUnspecifiedException-StackImageCannotDetermineProjectRootExceptionstageExesInDirsyncAddContentToDir imageNamecreateDockerImageextendDockerImageWithEntrypointfromMaybeProjectRootAssemble$fShowStackImageException$fExceptionStackImageExceptiontryDeprecatedPathgetLatestResolvergetDefaultGHCVariantgetWindowsProgsDirloadBuildConfigresolvePackageLocationdetermineStackRootAndOwnershipgetDirAndOwnership isOwnedByUsergetExtraConfigsloadConfigYamlloadYamlgetProjectConfigloadProjectConfiggetDefaultGlobalConfigPathgetDefaultUserConfigPathconfigFromConfigMonoid$fHasGHCVariantMiniConfig$fHasPlatformMiniConfig$fHasHttpManagerMiniConfig$fHasStackRootMiniConfig$fHasConfigMiniConfigGHC.IO.ExceptionExitCode NewException loadTemplate applyTemplatecheckForOverwritewriteTemplateFilesrunTemplateInitsparseTemplateSetdefaultTemplateUrldefaultTemplateInfoUrldefaultTemplatesListFailedToLoadTemplateFailedToDownloadTemplateFailedToDownloadTemplatesBadTemplatesResponseBadTemplatesJSON AlreadyExistsMissingParametersInvalidTemplateAttemptedOverwritesFailedToDownloadTemplateInfoBadTemplateInfoBadTemplateInfoResponse TemplateFrom LocalTemp RemoteTempgetTemplateInfo addHeaders$fShowNewException$fExceptionNewException$fMonoidExtraDirsgpgpromptPassword usUploadUrl usGetManager usCredsSource usSaveCredsupload_HackageCredsExceptionsCouldn'tParseJSONgetCreds hcUsername hcPassword credsFile printBodyhandleIO!$fExceptionHackageCredsExceptions$fFromJSONHackageCreds$fToJSONHackageCredsExecuteExceptionInconsistentDependencies 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 upgradeCabal getSetupInfocheckDependencieswithUnpackedTarball7zsetup7zbytesfmt sanityCheckgetUtf8EnvVarsCheckDependency ArchiveTypeTarBz2TarXzTarGzSevenZSetupExceptionUnsupportedSetupComboMissingDependenciesUnknownCompilerVersion UnknownOSKeyGHCSanityCheckCompileFailedWantedMustBeGHCRequireCustomGHCVariantProblemWhileDecompressingSetupInfoMissingSevenzGHCJSRequiresStandardVariantGHCJSNotBootedDockerStackExeNotFoundgetInstalledToolgetInstalledGhcjsdownloadAndInstallTooldownloadAndInstallCompilergetWantedCompilerInfo getGhcKeygetOSKeydownloadFromInfoinstallGHCPosix installGHCJSinstallDockerStackExeensureGhcjsBooted bootGhcjsloadGhcjsEnvConfiggetCabalInstallVersioncheckDependencyinstallGHCWindowsinstallMsys2WindowsexpectSingleUnpackedDirchattyDownloadchunksOverTime$fAlternativeCheckDependency$fApplicativeCheckDependency$fShowSetupException$fExceptionSetupException GetCmdArgs ImageConfigInspectexecWithOptionalContainerrunContainerAndExitinspectinspects pullImagecheckDockerVersionentrypointMVarremoveDirectoryContentsreadDockerProcess homeDirName hostBinDir decodeUtf8concatToldSandboxIdEnvVardockerContainerPlatform$fShowStackDockerException$fExceptionStackDockerException$fFromJSONImageConfig$fFromJSONInspecticEnv icEntrypointiiConfig iiCreatediiId iiVirtualSizeescape getInShell inShellEnvVarrunShellAndExit ignoredDirsConstraintSpecConstraintType Constraint Preference cabalSolvergetCabalConfig setupCompiler setupCabalEnv formatGroupreportMissingCabalFiles prettyPathrenderStackYamlgetDefaultResolver getSnapshots'getWorkingResolverPlancheckBundleResolvergetRecommendedSnapshotscreateDependencyGraphpruneUnreachablecreateDepLoaderlocalDependenciesprintLocalNodes printLeaves printEdges printEdgenodeName printLeaf isWiredInfigureOutMainFilemakeGhciPkgInfowantedPackageComponentscheckForIssuesborderedWarningcheckForDuplicateModulesgetExtraLoadDepspreprocessCabalMacrossetScriptPerms$fShowGhciException$fExceptionGhciExceptionreadFlagexecOptsExtraParserabstractResolverOptsParserghcVariantParserhideMods readAbsDirbuildOptsMonoidParserreadAbstractResolvercompilerOptsParserreadCompilerVersionCheckExceptionGHC.IOFilePath getCabalLbs gtraverseTreadLocalPackagegetSDistFileListnormalizeTarballPaths normalizePath dirsFromFileswithTempTarGzContents packFileEntry getModTime$fShowCheckException$fExceptionCheckException