Skip to content

Instantly share code, notes, and snippets.

@mightybyte
Created December 5, 2017 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mightybyte/33fed8318386983cd1b6064edba67034 to your computer and use it in GitHub Desktop.
Save mightybyte/33fed8318386983cd1b6064edba67034 to your computer and use it in GitHub Desktop.
zsh completion debug file
+_complete_debug:20> : zsh 5.0.8
+_complete_debug:21> _main_complete
+_main_complete:11> local 'IFS=
'
+_main_complete:25> eval 'local -A _comp_caller_options;
_comp_caller_options=(${(kv)options[@]});
setopt localoptions localtraps localpatterns ${_comp_options[@]};
local IFS=$'\'' \t\r\n\0'\''
enable -p \| \~ \( \? \* \[ \< \^ \#
exec </dev/null;
trap - ZERR
local -a reply
local REPLY'
+(eval):1> local -A _comp_caller_options
+(eval):2> _comp_caller_options=( posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob on localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory off overstrike off kshautoload off incappendhistory on promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on globalexport on ksharrays off correct off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases off autocontinue off appendhistory on singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions on interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam on vi off printeightbit off multifuncdef on xtrace on login on cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose off localpatterns on ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin on restricted off pushdminus on nullglob on chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps on stdin on onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off )
+(eval):3> setopt localoptions localtraps localpatterns bareglobqual extendedglob glob multibyte multifuncdef nullglob rcexpandparam unset NO_allexport NO_aliases NO_cshnullglob NO_cshjunkiequotes NO_errexit NO_globsubst NO_histsubstpattern NO_ignorebraces NO_ignoreclosebraces NO_kshglob NO_ksharrays NO_kshtypeset NO_markdirs NO_octalzeroes NO_shwordsplit NO_shglob NO_warncreateglobal
+(eval):4> local 'IFS=
'
+(eval):5> enable -p '|' '~' '(' '?' '*' '[' '<' '^' '#'
+(eval):7> trap - ZERR
+(eval):8> local -a reply
+(eval):9> local REPLY
+_main_complete:27> local func funcs 'ret=1' tmp _compskip format nm call match min max i num _completers _completer _completer_num curtag _comp_force_list _matchers _matcher _c_matcher _matcher_num _comp_tags _comp_mesg mesg str context state state_descr line opt_args val_args 'curcontext=' '_last_nmatches=-1' _last_menu_style _def_menu_style _menu_style sel '_tags_level=0' '_saved_exact=' '_saved_lastprompt=yes' '_saved_list=ambiguous' '_saved_insert=automenu-unambiguous' '_saved_colors=' '_saved_colors_set=0'
+_main_complete:42> local -a precommands
+_main_complete:44> typeset -U _lastdescr _comp_ignore _comp_colors
+_main_complete:48> [[ -z '' ]]
+_main_complete:48> curcontext=:::
+_main_complete:50> zstyle -s :completion::::: insert-tab tmp
+_main_complete:50> tmp=yes
+_main_complete:52> [[ yes == *pending(|[[:blank:]]*) || yes == *pending=(#b)([0-9]##)(|[[:blank:]]*) ]]
+_main_complete:60> [[ automenu-unambiguous == tab* ]]
+_main_complete:73> [[ '' == \* ]]
+_main_complete:83> [[ -z '' ]]
+_main_complete:84> [[ -o equals ]]
+_main_complete:84> compset -P 1 '='
+_main_complete:86> [[ '' != */* && '' == \~ ]]
+_main_complete:94> _setup default
+_setup:3> local val 'nm=0'
+_setup:5> [[ 1 -eq 1 ]]
+_setup:5> 2=default
+_setup:7> zstyle -a :completion:::::default list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ default == default ]]
+_setup:10> _comp_colors=( '' )
+_setup:26> zstyle -t :completion:::::default list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion:::::default list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion:::::default last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion:::::default accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 ]]
+_setup:61> zstyle -a :completion:::::default menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion:::::default force-list val
+_main_complete:95> _def_menu_style=( select )
+_main_complete:104> _last_menu_style=( )
+_main_complete:106> zstyle -s :completion:::::default list-prompt tmp
+_main_complete:110> zstyle -s :completion:::::default select-prompt tmp
+_main_complete:114> zstyle -s :completion:::::default select-scroll tmp
+_main_complete:121> (( 0 ))
+_main_complete:133> zstyle -a :completion::::: completer _completers
+_main_complete:134> _completers=( _complete _ignored )
+_main_complete:139> _completer_num=1
+_main_complete:142> integer 'SECONDS=0'
+_main_complete:151> funcs=( )
+_main_complete:152> compprefuncs=( )
+_main_complete:157> tmp=_complete
+_main_complete:159> [[ -n '' ]]
+_main_complete:161> [[ _complete == *:-* ]]
+_main_complete:164> [[ _complete == *:* ]]
+_main_complete:168> _completer=complete
+_main_complete:171> curcontext=:complete::
+_main_complete:172> zstyle -t :completion::complete::: show-completer
+_main_complete:175> zstyle -a :completion::complete::: matcher-list _matchers
+_main_complete:178> _matcher_num=1
+_main_complete:179> _matcher=''
+_main_complete:180> _c_matcher=m:{a-zA-Z}={A-Za-z}
+_main_complete:181> [[ 'm:{a-zA-Z}={A-Za-z}' == +* ]]
+_main_complete:184> _matcher='m:{a-zA-Z}={A-Za-z}'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _complete
+_complete:7> local comp name oldcontext 'ret=1' service
+_complete:8> typeset -T 'curcontext=:complete::' ccarray
+_complete:10> oldcontext=:complete::
+_complete:14> [[ -n '' ]]
+_complete:96> comp=_first
+_complete:97> [[ -n _first ]]
+_complete:98> service=-first-
+_complete:99> ccarray[3]=-first-
+_complete:100> eval _first
+(eval):1> _first
+_complete:100> ret=0
+_complete:101> [[ '' == all ]]
+_complete:110> [[ -n '' ]]
+_complete:114> ret=1
+_complete:115> [[ command == command ]]
+_complete:116> curcontext=:complete::
+_complete:117> _normal -s
+_normal:3> local _comp_command1 _comp_command2 _comp_command skip
+_normal:5> [[ -s == -s ]]
+_normal:6> skip=( -s )
+_normal:16> [[ -o BANG_HIST && '' == !*: || '' == "!*: ]]
+_normal:29> [[ CURRENT -eq 1 ]]
+_normal:38> _set_command
+_set_command:6> local command
+_set_command:8> command=nix-build
+_set_command:10> [[ -z nix-build ]]
+_set_command:12> (( 0 + 0 ))
+_set_command:15> [[ n == \= ]]
+_set_command:19> [[ nix-build == ..#/* ]]
+_set_command:23> [[ nix-build == */* ]]
+_set_command:28> _comp_command1=nix-build
+_set_command:29> _comp_command2=/nix/var/nix/profiles/default/bin/nix-build
+_set_command:30> _comp_command=nix-build
+_normal:40> _dispatch -s nix-build nix-build /nix/var/nix/profiles/default/bin/nix-build -default-
+_dispatch:3> local comp pat val name i 'ret=1' '_compskip='
+_dispatch:4> local 'curcontext=:complete::' service str noskip
+_dispatch:5> local -a match mbegin mend
+_dispatch:9> [[ -s == -s ]]
+_dispatch:10> noskip=yes
+_dispatch:11> shift
+_dispatch:14> [[ -z yes ]]
+_dispatch:16> curcontext=:complete:nix-build:
+_dispatch:18> shift
+_dispatch:22> [[ '' != (all|*patterns*) ]]
+_dispatch:24> str=nix-build
+_dispatch:25> [[ -n nix-build ]]
+_dispatch:26> service=nix-build
+_dispatch:24> str=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:25> [[ -n /nix/var/nix/profiles/default/bin/nix-build ]]
+_dispatch:26> service=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:24> str=-default-
+_dispatch:25> [[ -n -default- ]]
+_dispatch:26> service=-default-
+_dispatch:45> ret=1
+_dispatch:46> str=nix-build
+_dispatch:47> [[ -n nix-build ]]
+_dispatch:51> str=nix-build
+_dispatch:52> name=nix-build
+_dispatch:53> comp=_nix-build
+_dispatch:54> service=nix-build
+_dispatch:56> [[ -z _nix-build ]]
+_dispatch:56> break
+_dispatch:61> [[ -n _nix-build && nix-build != -default- ]]
+_dispatch:62> _compskip=patterns
+_dispatch:63> eval _nix-build
+(eval):1> _nix-build
+_nix-build:4> _nix-common-options
+_nix-common-options:3> [[ -n '' ]]
+_nix-common-options:376> _nix_boilerplate_opts=( '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' )
+_nix-common-options:382> _nix_dry_run='--dry-run[Show what would be done without doing it]'
+_nix-common-options:385> _nix_gc_common=( '(- --print* --delete)--print-roots[Print roots used by garbage collector]' '(- --print* --delete)--print-live[Print store paths reachable from roots]' '(- --print* --delete)--print-dead[Print store paths not reachable from roots]' '(- --print* --delete)--delete[Garbage collect all dead paths from the store]' )
+_nix-common-options:393> _nix_search_path_args=( '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' )
+_nix-common-options:443> _nix_repair='--repair[Fix corrupted or missing store paths by redownloading or rebuilding]'
+_nix-common-options:446> _nix_common_nixos_rebuild=( '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' )
+_nix-common-options:461> _nix_common_opts=( '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' )
+_nix-common-options:472> _NIX_SHELL_COMPLETION_LOADED=1
+_nix-build:6> local -a _nix_build_opts
+_nix-build:7> _nix_build_opts=( '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' )
+_nix-build:26> _arguments '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:6> local long 'cmd=nix-build' descr odescr mesg subopts opt opt2 usecc autod
+_arguments:7> local 'oldcontext=:complete:nix-build:' hasopts rawret optarg singopt alwopt
+_arguments:8> local setnormarg start rest
+_arguments:9> local -a match mbegin mend
+_arguments:11> long=0
+_arguments:12> (( long ))
+_arguments:293> subopts=( )
+_arguments:294> singopt=( )
+_arguments:295> [[ '(- *)--help[Print help message and exit]' == -(O*|[CRWnsw]) ]]
+_arguments:308> [[ '' == [-+] ]]
+_arguments:310> zstyle -s :completion::complete:nix-build::options auto-description autod
+_arguments:312> (( 34 ))
+_arguments:312> comparguments -i '' '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:313> local action noargs aret expl local tried 'ret=1'
+_arguments:314> local next direct odirect equal single matcher matched ws tmp1 tmp2 tmp3
+_arguments:315> local opts subc tc prefix suffix descrs actions subcs anum
+_arguments:316> local 'origpre=' 'origipre=' 'nm=0'
+_arguments:318> comparguments -D descrs actions subcs
+_arguments:319> comparguments -O next direct odirect equal
+_arguments:320> opts=yes
+_arguments:321> _tags argument-rest options
+_tags:3> local prev
+_tags:10> [[ argument-rest == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:' order tag nodef tmp
+_tags:21> [[ argument-rest == -C?* ]]
+_tags:24> [[ argument-rest == -C ]]
+_tags:29> [[ argument-rest == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:: group-order order
+_tags:36> comptags -i :complete:nix-build: argument-rest options
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:: tag-order order
+_tags:44> (( ! 2 ))
+_tags:45> order=( '(|*-)argument-* (|*-)option[-+]* values' options )
+_tags:47> tag=(|*-)argument-* (|*-)option[-+]* values
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (-)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (!*)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (?*)
+_tags:51> comptry -m '(|*-)argument-* (|*-)option[-+]* values'
+_tags:47> tag=options
+_tags:48> case options (-)
+_tags:48> case options (!*)
+_tags:48> case options (?*)
+_tags:51> comptry -m options
+_tags:55> [[ -z '' ]]
+_tags:55> comptry argument-rest options
+_tags:60> comptags -T
+_tags:62> return
+_arguments:343> comparguments -M matcher
+_arguments:345> context=( )
+_arguments:346> state=( )
+_arguments:347> state_descr=( )
+_arguments:349> true
+_arguments:350> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_arguments:351> anum=1
+_arguments:352> [[ -z '' ]]
+_arguments:353> [[ anum -le 1 ]]
+_arguments:355> action=_nix_path
+_arguments:356> descr=Paths
+_arguments:357> subc=argument-rest
+_arguments:359> [[ argument-rest == argument* && -n '' ]]
+_arguments:363> [[ -n '' ]]
+_arguments:363> _requested argument-rest
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R argument-rest
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_arguments:365> curcontext=:complete:nix-build:argument-rest
+_arguments:367> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'm:{a-zA-Z}={A-Za-z}' ]]
+_description:32> opts=( -M 'm:{a-zA-Z}={A-Za-z}' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_arguments:369> [[ _nix_path == \=\ * ]]
+_arguments:375> [[ _nix_path == -\>* ]]
+_arguments:390> [[ -z '' ]]
+_arguments:391> local line
+_arguments:392> typeset -A opt_args
+_arguments:393> local=yes
+_arguments:396> comparguments -W line opt_args
+_arguments:398> [[ _nix_path == \ # ]]
+_arguments:406> [[ _nix_path == \(\(*\)\) ]]
+_arguments:416> [[ _nix_path == \(*\) ]]
+_arguments:425> [[ _nix_path == {*} ]]
+_arguments:434> [[ _nix_path == \ * ]]
+_arguments:448> eval 'action=( _nix_path )'
+(eval):1> action=( _nix_path )
+_arguments:449> _next_label argument-rest expl Paths
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A argument-rest curtag __spec
+_next_label:9> (( 9 > _tags_level ))
+_next_label:9> _comp_tags=''
+_next_label:10> _tags_level=9
+_next_label:11> _comp_tags=' argument-rest '
+_next_label:12> [[ argument-rest == *[^\\]:* ]]
+_next_label:18> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'm:{a-zA-Z}={A-Za-z}' ]]
+_description:32> opts=( -M 'm:{a-zA-Z}={A-Za-z}' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_next_label:22> return 0
+_arguments:450> _nix_path -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_nix_path:1> _alternative nixpkgs:Nixpkgs:_nix_shortcuts 'path:File Path:_nix_complete_dotnix_files'
+_alternative:3> local tags def expl descr action mesgs 'nm=0' subopts
+_alternative:4> local opt ws 'curcontext=:complete:nix-build:argument-rest'
+_alternative:6> subopts=( )
+_alternative:7> getopts O:C: opt
+_alternative:14> shift OPTIND-1
+_alternative:16> [[ nixpkgs:Nixpkgs:_nix_shortcuts == -(|-) ]]
+_alternative:18> mesgs=( )
+_alternative:20> _tags nixpkgs path
+_tags:3> local prev
+_tags:10> [[ nixpkgs == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:argument-rest' order tag nodef tmp
+_tags:21> [[ nixpkgs == -C?* ]]
+_tags:24> [[ nixpkgs == -C ]]
+_tags:29> [[ nixpkgs == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:argument-rest: group-order order
+_tags:36> comptags -i :complete:nix-build:argument-rest nixpkgs path
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:argument-rest: tag-order order
+_tags:44> (( ! 0 ))
+_tags:55> [[ -z '' ]]
+_tags:55> comptry nixpkgs path
+_tags:60> comptags -T
+_tags:62> return
+_alternative:22> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_alternative:23> def=nixpkgs:Nixpkgs:_nix_shortcuts
+_alternative:24> _requested nixpkgs
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R nixpkgs
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_alternative:25> descr=Nixpkgs
+_alternative:26> action=_nix_shortcuts
+_alternative:28> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'm:{a-zA-Z}={A-Za-z}' ]]
+_description:32> opts=( -M 'm:{a-zA-Z}={A-Za-z}' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_alternative:30> [[ _nix_shortcuts == \ # ]]
+_alternative:35> [[ _nix_shortcuts == \(\(*\)\) ]]
+_alternative:42> [[ _nix_shortcuts == \(*\) ]]
+_alternative:48> [[ _nix_shortcuts == {*} ]]
+_alternative:55> [[ _nix_shortcuts == \ * ]]
+_alternative:67> eval 'action=( _nix_shortcuts )'
+(eval):1> action=( _nix_shortcuts )
+_alternative:68> _next_label nixpkgs expl Nixpkgs
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A nixpkgs curtag __spec
+_next_label:9> (( 11 > _tags_level ))
+_next_label:9> _comp_tags=''
+_next_label:10> _tags_level=11
+_next_label:11> _comp_tags=' nixpkgs '
+_next_label:12> [[ nixpkgs == *[^\\]:* ]]
+_next_label:18> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'm:{a-zA-Z}={A-Za-z}' ]]
+_description:32> opts=( -M 'm:{a-zA-Z}={A-Za-z}' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
+_next_label:22> return 0
+_alternative:69> _nix_shortcuts -M 'm:{a-zA-Z}={A-Za-z}' -J -default-
_nix_shortcuts:1: unknown file attribute: i
+_dispatch:64> [[ patterns == (all|*patterns*) ]]
+_dispatch:64> return ret
+_complete:142> _compskip=''
+_complete:144> return ret
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:180> _c_matcher=r:|=*
+_main_complete:181> [[ 'r:|=*' == +* ]]
+_main_complete:184> _matcher='r:|=*'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _complete
+_complete:7> local comp name oldcontext 'ret=1' service
+_complete:8> typeset -T 'curcontext=:complete::' ccarray
+_complete:10> oldcontext=:complete::
+_complete:14> [[ -n '' ]]
+_complete:96> comp=_first
+_complete:97> [[ -n _first ]]
+_complete:98> service=-first-
+_complete:99> ccarray[3]=-first-
+_complete:100> eval _first
+(eval):1> _first
+_complete:100> ret=0
+_complete:101> [[ '' == all ]]
+_complete:110> [[ -n '' ]]
+_complete:114> ret=1
+_complete:115> [[ command == command ]]
+_complete:116> curcontext=:complete::
+_complete:117> _normal -s
+_normal:3> local _comp_command1 _comp_command2 _comp_command skip
+_normal:5> [[ -s == -s ]]
+_normal:6> skip=( -s )
+_normal:16> [[ -o BANG_HIST && '' == !*: || '' == "!*: ]]
+_normal:29> [[ CURRENT -eq 1 ]]
+_normal:38> _set_command
+_set_command:6> local command
+_set_command:8> command=nix-build
+_set_command:10> [[ -z nix-build ]]
+_set_command:12> (( 0 + 0 ))
+_set_command:15> [[ n == \= ]]
+_set_command:19> [[ nix-build == ..#/* ]]
+_set_command:23> [[ nix-build == */* ]]
+_set_command:28> _comp_command1=nix-build
+_set_command:29> _comp_command2=/nix/var/nix/profiles/default/bin/nix-build
+_set_command:30> _comp_command=nix-build
+_normal:40> _dispatch -s nix-build nix-build /nix/var/nix/profiles/default/bin/nix-build -default-
+_dispatch:3> local comp pat val name i 'ret=1' '_compskip='
+_dispatch:4> local 'curcontext=:complete::' service str noskip
+_dispatch:5> local -a match mbegin mend
+_dispatch:9> [[ -s == -s ]]
+_dispatch:10> noskip=yes
+_dispatch:11> shift
+_dispatch:14> [[ -z yes ]]
+_dispatch:16> curcontext=:complete:nix-build:
+_dispatch:18> shift
+_dispatch:22> [[ '' != (all|*patterns*) ]]
+_dispatch:24> str=nix-build
+_dispatch:25> [[ -n nix-build ]]
+_dispatch:26> service=nix-build
+_dispatch:24> str=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:25> [[ -n /nix/var/nix/profiles/default/bin/nix-build ]]
+_dispatch:26> service=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:24> str=-default-
+_dispatch:25> [[ -n -default- ]]
+_dispatch:26> service=-default-
+_dispatch:45> ret=1
+_dispatch:46> str=nix-build
+_dispatch:47> [[ -n nix-build ]]
+_dispatch:51> str=nix-build
+_dispatch:52> name=nix-build
+_dispatch:53> comp=_nix-build
+_dispatch:54> service=nix-build
+_dispatch:56> [[ -z _nix-build ]]
+_dispatch:56> break
+_dispatch:61> [[ -n _nix-build && nix-build != -default- ]]
+_dispatch:62> _compskip=patterns
+_dispatch:63> eval _nix-build
+(eval):1> _nix-build
+_nix-build:4> _nix-common-options
+_nix-common-options:3> [[ -n 1 ]]
+_nix-common-options:5> return 0
+_nix-build:6> local -a _nix_build_opts
+_nix-build:7> _nix_build_opts=( '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' )
+_nix-build:26> _arguments '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:6> local long 'cmd=nix-build' descr odescr mesg subopts opt opt2 usecc autod
+_arguments:7> local 'oldcontext=:complete:nix-build:' hasopts rawret optarg singopt alwopt
+_arguments:8> local setnormarg start rest
+_arguments:9> local -a match mbegin mend
+_arguments:11> long=0
+_arguments:12> (( long ))
+_arguments:293> subopts=( )
+_arguments:294> singopt=( )
+_arguments:295> [[ '(- *)--help[Print help message and exit]' == -(O*|[CRWnsw]) ]]
+_arguments:308> [[ '' == [-+] ]]
+_arguments:310> zstyle -s :completion::complete:nix-build::options auto-description autod
+_arguments:312> (( 34 ))
+_arguments:312> comparguments -i '' '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:313> local action noargs aret expl local tried 'ret=1'
+_arguments:314> local next direct odirect equal single matcher matched ws tmp1 tmp2 tmp3
+_arguments:315> local opts subc tc prefix suffix descrs actions subcs anum
+_arguments:316> local 'origpre=' 'origipre=' 'nm=0'
+_arguments:318> comparguments -D descrs actions subcs
+_arguments:319> comparguments -O next direct odirect equal
+_arguments:320> opts=yes
+_arguments:321> _tags argument-rest options
+_tags:3> local prev
+_tags:10> [[ argument-rest == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:' order tag nodef tmp
+_tags:21> [[ argument-rest == -C?* ]]
+_tags:24> [[ argument-rest == -C ]]
+_tags:29> [[ argument-rest == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:: group-order order
+_tags:36> comptags -i :complete:nix-build: argument-rest options
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:: tag-order order
+_tags:44> (( ! 2 ))
+_tags:45> order=( '(|*-)argument-* (|*-)option[-+]* values' options )
+_tags:47> tag=(|*-)argument-* (|*-)option[-+]* values
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (-)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (!*)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (?*)
+_tags:51> comptry -m '(|*-)argument-* (|*-)option[-+]* values'
+_tags:47> tag=options
+_tags:48> case options (-)
+_tags:48> case options (!*)
+_tags:48> case options (?*)
+_tags:51> comptry -m options
+_tags:55> [[ -z '' ]]
+_tags:55> comptry argument-rest options
+_tags:60> comptags -T
+_tags:62> return
+_arguments:343> comparguments -M matcher
+_arguments:345> context=( )
+_arguments:346> state=( )
+_arguments:347> state_descr=( )
+_arguments:349> true
+_arguments:350> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_arguments:351> anum=1
+_arguments:352> [[ -z '' ]]
+_arguments:353> [[ anum -le 1 ]]
+_arguments:355> action=_nix_path
+_arguments:356> descr=Paths
+_arguments:357> subc=argument-rest
+_arguments:359> [[ argument-rest == argument* && -n '' ]]
+_arguments:363> [[ -n '' ]]
+_arguments:363> _requested argument-rest
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R argument-rest
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_arguments:365> curcontext=:complete:nix-build:argument-rest
+_arguments:367> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'r:|=*' ]]
+_description:32> opts=( -M 'r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_arguments:369> [[ _nix_path == \=\ * ]]
+_arguments:375> [[ _nix_path == -\>* ]]
+_arguments:390> [[ -z '' ]]
+_arguments:391> local line
+_arguments:392> typeset -A opt_args
+_arguments:393> local=yes
+_arguments:396> comparguments -W line opt_args
+_arguments:398> [[ _nix_path == \ # ]]
+_arguments:406> [[ _nix_path == \(\(*\)\) ]]
+_arguments:416> [[ _nix_path == \(*\) ]]
+_arguments:425> [[ _nix_path == {*} ]]
+_arguments:434> [[ _nix_path == \ * ]]
+_arguments:448> eval 'action=( _nix_path )'
+(eval):1> action=( _nix_path )
+_arguments:449> _next_label argument-rest expl Paths
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A argument-rest curtag __spec
+_next_label:9> (( 9 > _tags_level ))
+_next_label:10> _tags_level=9
+_next_label:11> _comp_tags=' nixpkgs argument-rest '
+_next_label:12> [[ argument-rest == *[^\\]:* ]]
+_next_label:18> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'r:|=*' ]]
+_description:32> opts=( -M 'r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'r:|=*' -J -default-
+_next_label:22> return 0
+_arguments:450> _nix_path -M 'r:|=*' -J -default-
+_nix_path:1> _alternative nixpkgs:Nixpkgs:_nix_shortcuts 'path:File Path:_nix_complete_dotnix_files'
+_alternative:3> local tags def expl descr action mesgs 'nm=0' subopts
+_alternative:4> local opt ws 'curcontext=:complete:nix-build:argument-rest'
+_alternative:6> subopts=( )
+_alternative:7> getopts O:C: opt
+_alternative:14> shift OPTIND-1
+_alternative:16> [[ nixpkgs:Nixpkgs:_nix_shortcuts == -(|-) ]]
+_alternative:18> mesgs=( )
+_alternative:20> _tags nixpkgs path
+_tags:3> local prev
+_tags:10> [[ nixpkgs == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:argument-rest' order tag nodef tmp
+_tags:21> [[ nixpkgs == -C?* ]]
+_tags:24> [[ nixpkgs == -C ]]
+_tags:29> [[ nixpkgs == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:argument-rest: group-order order
+_tags:36> comptags -i :complete:nix-build:argument-rest nixpkgs path
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:argument-rest: tag-order order
+_tags:44> (( ! 0 ))
+_tags:55> [[ -z '' ]]
+_tags:55> comptry nixpkgs path
+_tags:60> comptags -T
+_tags:62> return
+_alternative:22> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_alternative:23> def=nixpkgs:Nixpkgs:_nix_shortcuts
+_alternative:24> _requested nixpkgs
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R nixpkgs
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_alternative:25> descr=Nixpkgs
+_alternative:26> action=_nix_shortcuts
+_alternative:28> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'r:|=*' ]]
+_description:32> opts=( -M 'r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_alternative:30> [[ _nix_shortcuts == \ # ]]
+_alternative:35> [[ _nix_shortcuts == \(\(*\)\) ]]
+_alternative:42> [[ _nix_shortcuts == \(*\) ]]
+_alternative:48> [[ _nix_shortcuts == {*} ]]
+_alternative:55> [[ _nix_shortcuts == \ * ]]
+_alternative:67> eval 'action=( _nix_shortcuts )'
+(eval):1> action=( _nix_shortcuts )
+_alternative:68> _next_label nixpkgs expl Nixpkgs
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A nixpkgs curtag __spec
+_next_label:9> (( 11 > _tags_level ))
+_next_label:9> _comp_tags=' nixpkgs '
+_next_label:10> _tags_level=11
+_next_label:11> _comp_tags=' nixpkgs nixpkgs '
+_next_label:12> [[ nixpkgs == *[^\\]:* ]]
+_next_label:18> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'r:|=*' ]]
+_description:32> opts=( -M 'r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'r:|=*' -J -default-
+_next_label:22> return 0
+_alternative:69> _nix_shortcuts -M 'r:|=*' -J -default-
_nix_shortcuts:1: unknown file attribute: i
+_dispatch:64> [[ patterns == (all|*patterns*) ]]
+_dispatch:64> return ret
+_complete:142> _compskip=''
+_complete:144> return ret
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:180> _c_matcher=l:|=* r:|=*
+_main_complete:181> [[ 'l:|=* r:|=*' == +* ]]
+_main_complete:184> _matcher='l:|=* r:|=*'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _complete
+_complete:7> local comp name oldcontext 'ret=1' service
+_complete:8> typeset -T 'curcontext=:complete::' ccarray
+_complete:10> oldcontext=:complete::
+_complete:14> [[ -n '' ]]
+_complete:96> comp=_first
+_complete:97> [[ -n _first ]]
+_complete:98> service=-first-
+_complete:99> ccarray[3]=-first-
+_complete:100> eval _first
+(eval):1> _first
+_complete:100> ret=0
+_complete:101> [[ '' == all ]]
+_complete:110> [[ -n '' ]]
+_complete:114> ret=1
+_complete:115> [[ command == command ]]
+_complete:116> curcontext=:complete::
+_complete:117> _normal -s
+_normal:3> local _comp_command1 _comp_command2 _comp_command skip
+_normal:5> [[ -s == -s ]]
+_normal:6> skip=( -s )
+_normal:16> [[ -o BANG_HIST && '' == !*: || '' == "!*: ]]
+_normal:29> [[ CURRENT -eq 1 ]]
+_normal:38> _set_command
+_set_command:6> local command
+_set_command:8> command=nix-build
+_set_command:10> [[ -z nix-build ]]
+_set_command:12> (( 0 + 0 ))
+_set_command:15> [[ n == \= ]]
+_set_command:19> [[ nix-build == ..#/* ]]
+_set_command:23> [[ nix-build == */* ]]
+_set_command:28> _comp_command1=nix-build
+_set_command:29> _comp_command2=/nix/var/nix/profiles/default/bin/nix-build
+_set_command:30> _comp_command=nix-build
+_normal:40> _dispatch -s nix-build nix-build /nix/var/nix/profiles/default/bin/nix-build -default-
+_dispatch:3> local comp pat val name i 'ret=1' '_compskip='
+_dispatch:4> local 'curcontext=:complete::' service str noskip
+_dispatch:5> local -a match mbegin mend
+_dispatch:9> [[ -s == -s ]]
+_dispatch:10> noskip=yes
+_dispatch:11> shift
+_dispatch:14> [[ -z yes ]]
+_dispatch:16> curcontext=:complete:nix-build:
+_dispatch:18> shift
+_dispatch:22> [[ '' != (all|*patterns*) ]]
+_dispatch:24> str=nix-build
+_dispatch:25> [[ -n nix-build ]]
+_dispatch:26> service=nix-build
+_dispatch:24> str=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:25> [[ -n /nix/var/nix/profiles/default/bin/nix-build ]]
+_dispatch:26> service=/nix/var/nix/profiles/default/bin/nix-build
+_dispatch:24> str=-default-
+_dispatch:25> [[ -n -default- ]]
+_dispatch:26> service=-default-
+_dispatch:45> ret=1
+_dispatch:46> str=nix-build
+_dispatch:47> [[ -n nix-build ]]
+_dispatch:51> str=nix-build
+_dispatch:52> name=nix-build
+_dispatch:53> comp=_nix-build
+_dispatch:54> service=nix-build
+_dispatch:56> [[ -z _nix-build ]]
+_dispatch:56> break
+_dispatch:61> [[ -n _nix-build && nix-build != -default- ]]
+_dispatch:62> _compskip=patterns
+_dispatch:63> eval _nix-build
+(eval):1> _nix-build
+_nix-build:4> _nix-common-options
+_nix-common-options:3> [[ -n 1 ]]
+_nix-common-options:5> return 0
+_nix-build:6> local -a _nix_build_opts
+_nix-build:7> _nix_build_opts=( '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' )
+_nix-build:26> _arguments '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:6> local long 'cmd=nix-build' descr odescr mesg subopts opt opt2 usecc autod
+_arguments:7> local 'oldcontext=:complete:nix-build:' hasopts rawret optarg singopt alwopt
+_arguments:8> local setnormarg start rest
+_arguments:9> local -a match mbegin mend
+_arguments:11> long=0
+_arguments:12> (( long ))
+_arguments:293> subopts=( )
+_arguments:294> singopt=( )
+_arguments:295> [[ '(- *)--help[Print help message and exit]' == -(O*|[CRWnsw]) ]]
+_arguments:308> [[ '' == [-+] ]]
+_arguments:310> zstyle -s :completion::complete:nix-build::options auto-description autod
+_arguments:312> (( 34 ))
+_arguments:312> comparguments -i '' '(- *)--help[Print help message and exit]' '(- *)--version[Print version number and exit]' '*-I+[Add path to Nix expression search path]:Include path:_nix_complete_includes' '(--verbose -v)*--verbose[Increase verbosity of diagnostic messages]' '(--verbose -v)*-v[Increase verbosity of diagnostic messages]' '(--no-build-output -Q)--no-build-output[Silence output to stdout and stderr]' '(--no-build-output -Q)-Q[Silence output to stdout and stderr]' '(--max-jobs -j)--max-jobs[Set the maximum number of build jobs that Nix will perform in parallel]' '(--max-jobs -j)-j[Set the maximum number of build jobs that Nix will perform in parallel]' '--cores[Set the parallelism of the individual builders (e.g. -j argument to make)]' '(--keep-going -k)--keep-going[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-going -k)-k[Keep going in case of failed builds, to the greatest extent possible]' '(--keep-failed -K)--keep-failed[Do not delete the build directory if build fails]' '(--keep-failed -K)-K[Do not delete the build directory if build fails]' '--fallback[If binary download fails, fall back on building from source]' '--show-trace[Print stack trace of evaluation errors]' '--option[Set Nix configuration option]:Options:_nix_options:Value:( )' '--repair[Fix corrupted or missing store paths by redownloading or rebuilding]' '(--attr -A)--attr[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '(--attr -A)-A[Select an attribute from the top-level Nix expression being evaluated]:Packages: _nix_complete_attr_paths' '*--arg[Argument to pass to the Nix function]:Name:_nix_complete_function_arg:Value: ' '*--argstr[Like --arg, but the value is a string]:Name:_nix_complete_function_arg:String: ' '--max-silent-time[Builder times out after not producing stdout/stderr for x seconds]:Seconds:( )' '--timeout[Timeout builder after given number of seconds]:Seconds:( )' '--readonly-mode[Do not open Nix database]' '--log-type[Configure how output is formatted]:Output format:((pretty\:"Default" escapes\:"Indicate nesting with escape codes" flat\:"Remove all nesting"))' '(--expr -E)--expr[Interpret command line args as Nix expressions]' '(--expr -E)-E[Interpret command line args as Nix expressions]' '--drv-link[Add a symlink to the store derivation]:Symlink Name:( )' '--add-drv-link[Shorthand for --drv-link ./derivation]' '--no-out-link[Do not create a symlink to the output path]' '--out-link[Name of the output symlink]:Output Symlink Name:( )' '-o[Name of the output symlink]:Output Symlink Name:( )' '*:Paths:_nix_path'
+_arguments:313> local action noargs aret expl local tried 'ret=1'
+_arguments:314> local next direct odirect equal single matcher matched ws tmp1 tmp2 tmp3
+_arguments:315> local opts subc tc prefix suffix descrs actions subcs anum
+_arguments:316> local 'origpre=' 'origipre=' 'nm=0'
+_arguments:318> comparguments -D descrs actions subcs
+_arguments:319> comparguments -O next direct odirect equal
+_arguments:320> opts=yes
+_arguments:321> _tags argument-rest options
+_tags:3> local prev
+_tags:10> [[ argument-rest == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:' order tag nodef tmp
+_tags:21> [[ argument-rest == -C?* ]]
+_tags:24> [[ argument-rest == -C ]]
+_tags:29> [[ argument-rest == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:: group-order order
+_tags:36> comptags -i :complete:nix-build: argument-rest options
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:: tag-order order
+_tags:44> (( ! 2 ))
+_tags:45> order=( '(|*-)argument-* (|*-)option[-+]* values' options )
+_tags:47> tag=(|*-)argument-* (|*-)option[-+]* values
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (-)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (!*)
+_tags:48> case (|*-)argument-* (|*-)option[-+]* values (?*)
+_tags:51> comptry -m '(|*-)argument-* (|*-)option[-+]* values'
+_tags:47> tag=options
+_tags:48> case options (-)
+_tags:48> case options (!*)
+_tags:48> case options (?*)
+_tags:51> comptry -m options
+_tags:55> [[ -z '' ]]
+_tags:55> comptry argument-rest options
+_tags:60> comptags -T
+_tags:62> return
+_arguments:343> comparguments -M matcher
+_arguments:345> context=( )
+_arguments:346> state=( )
+_arguments:347> state_descr=( )
+_arguments:349> true
+_arguments:350> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_arguments:351> anum=1
+_arguments:352> [[ -z '' ]]
+_arguments:353> [[ anum -le 1 ]]
+_arguments:355> action=_nix_path
+_arguments:356> descr=Paths
+_arguments:357> subc=argument-rest
+_arguments:359> [[ argument-rest == argument* && -n '' ]]
+_arguments:363> [[ -n '' ]]
+_arguments:363> _requested argument-rest
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R argument-rest
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_arguments:365> curcontext=:complete:nix-build:argument-rest
+_arguments:367> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'l:|=* r:|=*' ]]
+_description:32> opts=( -M 'l:|=* r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'l:|=* r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_arguments:369> [[ _nix_path == \=\ * ]]
+_arguments:375> [[ _nix_path == -\>* ]]
+_arguments:390> [[ -z '' ]]
+_arguments:391> local line
+_arguments:392> typeset -A opt_args
+_arguments:393> local=yes
+_arguments:396> comparguments -W line opt_args
+_arguments:398> [[ _nix_path == \ # ]]
+_arguments:406> [[ _nix_path == \(\(*\)\) ]]
+_arguments:416> [[ _nix_path == \(*\) ]]
+_arguments:425> [[ _nix_path == {*} ]]
+_arguments:434> [[ _nix_path == \ * ]]
+_arguments:448> eval 'action=( _nix_path )'
+(eval):1> action=( _nix_path )
+_arguments:449> _next_label argument-rest expl Paths
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A argument-rest curtag __spec
+_next_label:9> (( 9 > _tags_level ))
+_next_label:10> _tags_level=9
+_next_label:11> _comp_tags=' nixpkgs nixpkgs argument-rest '
+_next_label:12> [[ argument-rest == *[^\\]:* ]]
+_next_label:18> _description argument-rest expl Paths
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Paths
+_description:13> [[ -n Paths ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Paths )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest group-name gname
+_description:18> _setup argument-rest -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ argument-rest == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:argument-rest accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest matcher match
+_description:32> [[ -n 'l:|=* r:|=*' ]]
+_description:32> opts=( -M 'l:|=* r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:argument-rest ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=argument-rest
+_description:73> shift 2
+_description:74> [[ -z Paths ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'l:|=* r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:argument-rest fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'l:|=* r:|=*' -J -default-
+_next_label:22> return 0
+_arguments:450> _nix_path -M 'l:|=* r:|=*' -J -default-
+_nix_path:1> _alternative nixpkgs:Nixpkgs:_nix_shortcuts 'path:File Path:_nix_complete_dotnix_files'
+_alternative:3> local tags def expl descr action mesgs 'nm=0' subopts
+_alternative:4> local opt ws 'curcontext=:complete:nix-build:argument-rest'
+_alternative:6> subopts=( )
+_alternative:7> getopts O:C: opt
+_alternative:14> shift OPTIND-1
+_alternative:16> [[ nixpkgs:Nixpkgs:_nix_shortcuts == -(|-) ]]
+_alternative:18> mesgs=( )
+_alternative:20> _tags nixpkgs path
+_tags:3> local prev
+_tags:10> [[ nixpkgs == -- ]]
+_tags:15> (( 2 ))
+_tags:19> local 'curcontext=:complete:nix-build:argument-rest' order tag nodef tmp
+_tags:21> [[ nixpkgs == -C?* ]]
+_tags:24> [[ nixpkgs == -C ]]
+_tags:29> [[ nixpkgs == -(|-) ]]
+_tags:31> zstyle -a :completion::complete:nix-build:argument-rest: group-order order
+_tags:36> comptags -i :complete:nix-build:argument-rest nixpkgs path
+_tags:40> [[ -n '' ]]
+_tags:43> zstyle -a :completion::complete:nix-build:argument-rest: tag-order order
+_tags:44> (( ! 0 ))
+_tags:55> [[ -z '' ]]
+_tags:55> comptry nixpkgs path
+_tags:60> comptags -T
+_tags:62> return
+_alternative:22> _tags
+_tags:3> local prev
+_tags:10> [[ '' == -- ]]
+_tags:15> (( 0 ))
+_tags:67> comptags -N
+_alternative:23> def=nixpkgs:Nixpkgs:_nix_shortcuts
+_alternative:24> _requested nixpkgs
+_requested:3> local __gopt
+_requested:5> __gopt=( )
+_requested:6> zparseopts -D -a __gopt 1 2 V J x
+_requested:8> comptags -R nixpkgs
+_requested:9> [[ 1 -gt 3 ]]
+_requested:11> [[ 1 -gt 1 ]]
+_requested:14> return 0
+_alternative:25> descr=Nixpkgs
+_alternative:26> action=_nix_shortcuts
+_alternative:28> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'l:|=* r:|=*' ]]
+_description:32> opts=( -M 'l:|=* r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'l:|=* r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_alternative:30> [[ _nix_shortcuts == \ # ]]
+_alternative:35> [[ _nix_shortcuts == \(\(*\)\) ]]
+_alternative:42> [[ _nix_shortcuts == \(*\) ]]
+_alternative:48> [[ _nix_shortcuts == {*} ]]
+_alternative:55> [[ _nix_shortcuts == \ * ]]
+_alternative:67> eval 'action=( _nix_shortcuts )'
+(eval):1> action=( _nix_shortcuts )
+_alternative:68> _next_label nixpkgs expl Nixpkgs
+_next_label:3> local __gopt __descr __spec
+_next_label:5> __gopt=( )
+_next_label:6> zparseopts -D -a __gopt 1 2 V J x
+_next_label:8> comptags -A nixpkgs curtag __spec
+_next_label:9> (( 11 > _tags_level ))
+_next_label:9> _comp_tags=' nixpkgs nixpkgs '
+_next_label:10> _tags_level=11
+_next_label:11> _comp_tags=' nixpkgs nixpkgs nixpkgs '
+_next_label:12> [[ nixpkgs == *[^\\]:* ]]
+_next_label:18> _description nixpkgs expl Nixpkgs
+_description:3> local name gropt nopt xopt format gname hidden hide match opts tag sort
+_description:5> opts=( )
+_description:7> gropt=( -J )
+_description:8> xopt=( -X )
+_description:9> nopt=( )
+_description:10> zparseopts -K -D -a nopt 1 2 'V=gropt' 'J=gropt' 'x=xopt'
+_description:12> 3=Nixpkgs
+_description:13> [[ -n Nixpkgs ]]
+_description:13> _lastdescr=( '' Paths Nixpkgs Nixpkgs )
+_description:15> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs group-name gname
+_description:18> _setup nixpkgs -default-
+_setup:3> local val 'nm=0'
+_setup:5> [[ 2 -eq 1 ]]
+_setup:7> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs list-colors val
+_setup:8> zmodload -i zsh/complist
+_setup:9> [[ nixpkgs == default ]]
+_setup:12> _comp_colors=( '' )
+_setup:26> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-packed
+_setup:28> [[ 2 -eq 1 ]]
+_setup:31> compstate[list]=ambiguous
+_setup:34> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs list-rows-first
+_setup:36> [[ 2 -eq 1 ]]
+_setup:39> compstate[list]=ambiguous
+_setup:42> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs last-prompt
+_setup:44> [[ 2 -eq 1 ]]
+_setup:47> compstate[last_prompt]=yes
+_setup:50> zstyle -t :completion::complete:nix-build:argument-rest:nixpkgs accept-exact
+_setup:52> [[ 2 -eq 1 ]]
+_setup:55> compstate[exact]=''
+_setup:58> [[ _last_nmatches -ge 0 && _last_nmatches -ne nm ]]
+_setup:61> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs menu val
+_setup:62> _last_nmatches=0
+_setup:63> _last_menu_style=( select )
+_setup:68> [[ '' != always ]]
+_setup:69> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs force-list val
+_description:20> name=expl
+_description:22> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs format format
+_description:23> zstyle -s :completion::complete:nix-build:argument-rest:descriptions format format
+_description:25> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs hidden hidden
+_description:30> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs matcher match
+_description:32> [[ -n 'l:|=* r:|=*' ]]
+_description:32> opts=( -M 'l:|=* r:|=*' )
+_description:36> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs sort sort
+_description:37> zstyle -s :completion::complete:nix-build:argument-rest: sort sort
+_description:46> [[ -z '' ]]
+_description:47> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs ignored-patterns _comp_ignore
+_description:48> _comp_ignore=( )
+_description:50> zstyle -s :completion::complete:nix-build:argument-rest:nixpkgs ignore-line hidden
+_description:66> (( 0 ))
+_description:71> tag=nixpkgs
+_description:73> shift 2
+_description:74> [[ -z Nixpkgs ]]
+_description:76> [[ -n '' ]]
+_description:80> [[ -n '' ]]
+_description:87> [[ -n '' ]]
+_description:90> set -A expl -M 'l:|=* r:|=*' -J -default-
+_description:94> (( 0 ))
+_description:95> local fakestyle descr
+_description:96> fakestyle=fake
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake match
+_description:98> continue
+_description:96> fakestyle=fake-always
+_description:97> zstyle -a :completion::complete:nix-build:argument-rest:nixpkgs fake-always match
+_description:98> continue
+_description:111> return 0
+_next_label:19> set -A expl -M 'l:|=* r:|=*' -J -default-
+_next_label:22> return 0
+_alternative:69> _nix_shortcuts -M 'l:|=* r:|=*' -J -default-
_nix_shortcuts:1: unknown file attribute: i
+_dispatch:64> [[ patterns == (all|*patterns*) ]]
+_dispatch:64> return ret
+_complete:142> _compskip=''
+_complete:144> return ret
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:199> [[ -n '' ]]
+_main_complete:201> (( _completer_num++ ))
+_main_complete:157> tmp=_ignored
+_main_complete:159> [[ -n '' ]]
+_main_complete:161> [[ _ignored == *:-* ]]
+_main_complete:164> [[ _ignored == *:* ]]
+_main_complete:168> _completer=ignored
+_main_complete:171> curcontext=:ignored::
+_main_complete:172> zstyle -t :completion::ignored::: show-completer
+_main_complete:175> zstyle -a :completion::ignored::: matcher-list _matchers
+_main_complete:178> _matcher_num=1
+_main_complete:179> _matcher=''
+_main_complete:180> _c_matcher=m:{a-zA-Z}={A-Za-z}
+_main_complete:181> [[ 'm:{a-zA-Z}={A-Za-z}' == +* ]]
+_main_complete:184> _matcher='m:{a-zA-Z}={A-Za-z}'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _ignored
+_ignored:5> [[ _matcher_num -gt 1 || 0 -eq 0 ]]
+_ignored:5> return 1
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:180> _c_matcher=r:|=*
+_main_complete:181> [[ 'r:|=*' == +* ]]
+_main_complete:184> _matcher='r:|=*'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _ignored
+_ignored:5> [[ _matcher_num -gt 1 ]]
+_ignored:5> return 1
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:180> _c_matcher=l:|=* r:|=*
+_main_complete:181> [[ 'l:|=* r:|=*' == +* ]]
+_main_complete:184> _matcher='l:|=* r:|=*'
+_main_complete:187> _comp_mesg=''
+_main_complete:188> [[ -n '' ]]
+_main_complete:193> _ignored
+_ignored:5> [[ _matcher_num -gt 1 ]]
+_ignored:5> return 1
+_main_complete:197> (( _matcher_num++ ))
+_main_complete:199> [[ -n '' ]]
+_main_complete:201> (( _completer_num++ ))
+_main_complete:204> curcontext=:::
+_main_complete:205> [[ '' == keep ]]
+_main_complete:211> nm=0
+_main_complete:214> [[ '' == keep || nm -gt 1 ]]
+_main_complete:329> [[ nm -lt 1 && -n '' ]]
+_main_complete:332> [[ nm -eq 0 && -z '' && 3 -ne 0 && '' != keep ]]
+_main_complete:334> zstyle -s :completion:::::warnings format format
+_main_complete:352> zstyle -s :completion::::: show-ambiguity tmp
+_main_complete:360> [[ '' == always || '' == ?* ]]
+_main_complete:366> [[ '' == keep ]]
+_main_complete:372> (( 1 ))
+_main_complete:373> ZLS_COLORS=''
+_main_complete:381> funcs=( )
+_main_complete:382> comppostfuncs=( )
+_main_complete:387> _lastcomp=( list_lines 0 all_quotes '\' nmatches 0 restore auto context command vared '' unambiguous '' list_max 100 unambiguous_cursor 1 list ambiguous insert_positions '' unambiguous_positions '' exact '' to_end match last_prompt yes pattern_insert menu ignored 0 insert automenu-unambiguous )
+_main_complete:388> _lastcomp[nmatches]=0
+_main_complete:389> _lastcomp[completer]=ignored
+_main_complete:390> _lastcomp[prefix]=''
+_main_complete:391> _lastcomp[suffix]=''
+_main_complete:392> _lastcomp[iprefix]=''
+_main_complete:393> _lastcomp[isuffix]=''
+_main_complete:394> _lastcomp[qiprefix]=''
+_main_complete:395> _lastcomp[qisuffix]=''
+_main_complete:396> _lastcomp[tags]=' nixpkgs nixpkgs nixpkgs '
+_main_complete:398> return ret
+_complete_debug:22> integer 'ret=1'
+_complete_debug:23> unsetopt xtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment