h$G      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklm Common TypesProfpatsch, 2018@2021GPL-3 experimentalNone5 libnix?Once a derivation is realized, the finished output can be used.libnixA nix derivation is a complete build instruction that can be realized.libnix.A path in the nix store. It carries a phantom a to differentiate between  files and  paths.libnixCombines the standard error of running a command with a more semantic error type one should match on first. libnixCalls a command that returns an error and the whole stderr on failure. libnix(All executables this library might need.If you set an executable to  Just filepath, the internal code will use the given path instead of looking up the executable name in PATH. This is useful if you want to ensure that the executables always exist before calling into this library.  functions document the executables they use in their docstrings.$If an executable can@t be found, an  IOException+ is thrown (by the process spawn function).libnixnix-instantiate; usually you can expect nix to exist on the system (but we don@t check before running the commands)libnix  nix-storelibnixnix-prefetch-url ; as of nix 2.39, this executable comes with the nix distribution, so if  nix-store, is available, this should also be availablelibnixnix-prefetch-git"; This is usually provided by the nix-prefetch-scripts package and not installed with nixlibnixLogging function to call before running a command. This can be used to provide debugging output.The first argument is the executable name, the second argument is the list of arguments.libnixOptions that modify how a   executes.)Might get more fields in the future, use  to be backwards-compatbile.libnix"The command line logging function.libnix4A record of all executables this library could need.libnixall executables are taken from PATHlibnix logFn = nothing is done/logged executable = all executables are taken from PATH libnixRun a  , given runtime options. See .libnix Map over the e in a .   None ?vnlibnixSomething we can runolibnix/name of the executable, to be looked up in PATHplibnix;a file path to the executable (can be relative or absolute)qlibnixGet an executable from the  5 option (by its getter) or if not set use the given r2 as the name of the excutable to be looked up in PATH.slibnixRead the output of a process into a NixAction. | Keeps stderr if process returns a failure exit code. | The text is decoded as UTF-8.tlibnixlike @readCreateProcessWithExitCodeAndEncoding, but uses | Text instead of [Char] and lets the user specify an encoding | for the handles.ulibnixFork a thread while doing something else, but kill it if there's an exception.This is important in the cases above because we want to kill the thread that is holding the Handle lock, because when we clean up the process we try to close that handle, which could otherwise deadlock.slibnix5handle (stdout, stderr) depending on the return valuelibnixexecutable to runlibnix argumentstlibnixencoding for handleslibnixstandard inputlibnixexitcode, stdout, stderrnpoqstuvWrapper for the  nix-prefetch CLI utilitiesProfpatsch, 2018GPL-3 experimental-nix-prefetch-scripts 2018 (no version number)None #$1)libnix/The actual revision that is used (useful if no / was given)*libnixthe hash+libnixthe store path of the result.libnixthe URL/libnix/a git revision (hash, branch name, tag, ref, @)0libnixthe hash we are expecting1libnix+whether to do a deep instead of a shallow ( --depth=1 ) git clone2libnixwhether to keep .git directories3libnixwhether to fetch submodules6libnixthe URL7libnix9whether to unpack before hashing (useful for prefetching  fetchTarball)8libnixname of the store path9libnixthe hash we are expecting:libnixA sha-256 hash.=libnixA descriptive type for URLs.Alibnix1the tool@s output could not be parsed as expectedBlibnix(an expected hash was given and not validClibnixcatch-all errorDlibnix8Takes the URL, doesn@t unpack and uses the default name.ElibnixRuns nix-prefetch-url.Flibnix#Takes the url, mirrors the default fetchgit( options in nixpkgs: no deep clone, no .git, fetches submodules by default. By default, the latest default rev is used.GlibnixRuns nix-prefetch-git.= '()*+,-./0123456789:;<=>?@ABCDEFG!E456789DG,-./0123F'()*+@ABC=>?:;<*Interface to the nix package manager@s CLIProfpatsch, 2016@2018GPL-3 experimentalnix 1.11.x, nix 2.0None & Rlibnix+Combines all error types that could happen.Ylibnix5the given expression does not evaluate to a derivatonZlibnixcatch-all error\libnix=the input string was not a syntactically valid nix expression]libnixcatch-all error^libnix$A sucessfully parsed nix expression._libnix8Parse a nix expression and check for syntactic validity.`libnix2Instantiate a parsed expression into a derivation.Runs nix-instantiate.alibnixJust tests if the expression can be evaluated. That doesn@t mean it has to instantiate however.Runs nix-instantiate.blibnixFinally derivations are realized into full store outputs. This will typically take a while so it should be executed asynchronously.Runs  nix-store.clibnixCopy the given file or folder to the nix store and return it@s path.Runs  nix-store.dlibnixA convenience function to directly realize a nix expression. Any errors are put into a combined error type./ RSTUVWXYZ[\]^_`abcd_[\]`XYZabVWcdRSTU^        !"#$%&&'()**+,-./0112345667889:;<=>?@ABCDEFGHIJKLMNOOPNQRMSTUVWXYZ[\]^_`abcdefghijklmno%libnix-0.4.1.0-8WVNzt89bxEDM2Mw7IU4hFForeign.Nix.Shellout.TypesForeign.Nix.Shellout.PrefetchForeign.Nix.ShelloutForeign.Nix.Shellout.HelpersRealized Derivation StorePath unStorePathNixActionError actionStderr actionError NixAction unNixAction ExecutablesexeNixInstantiate exeNixStoreexeNixPrefetchUrlexeNixPrefetchGitLogFn RunOptionslogFn executablesdefaultExecutablesdefaultRunOptions runNixActionmapActionError$fMonadTransNixAction $fEqStorePath$fShowStorePath$fFunctorNixAction$fApplicativeNixAction$fMonadNixAction$fMonadIONixAction#$fMonadErrorNixActionErrorNixAction $fMonadReaderRunOptionsNixAction$fShowNixActionError$fFunctorNixActionError GitOutput gitOutputRevgitOutputSha256 gitOuputPath GitOptionsgitUrlgitRevgitExpectedHash gitDeepClonegitLeaveDotGitgitFetchSubmodules UrlOptionsurlUrl urlUnpackurlNameurlExpectedHashSha256unSha256UrlunUrl PrefetchErrorPrefetchOutputMalformedExpectedHashErrorUnknownPrefetchErrordefaultUrlOptionsurldefaultGitOptionsgit$fShowGitOutput $fEqGitOutput $fShowSha256 $fEqSha256$fIsStringSha256 $fShowUrl$fEqUrl $fIsStringUrl$fEqPrefetchError$fShowPrefetchErrorNixError ParseErrorInstantiateError RealizeErrorUnknownRealizeErrorNotADerivationUnknownInstantiateError SyntaxErrorUnknownParseErrorNixExpr parseNixExpr instantiateevalrealize addToStoreparseInstRealize$fShowNixError $fEqNixError$fShowRealizeError$fEqRealizeError$fShowInstantiateError$fEqInstantiateError$fShowParseError$fEqParseError $fShowNixExpr ExecutableExeFromPathEnvExeFromFilePath getExecOr text-1.2.3.2Data.Text.InternalText readProcess(readCreateProcessWithExitCodeAndEncoding withForkWait ignoreSigPipe