Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 10, 2019 15:00
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 exarkun/4b57e62da1b0fae4063ff8046b96b8f3 to your computer and use it in GitHub Desktop.
Save exarkun/4b57e62da1b0fae4063ff8046b96b8f3 to your computer and use it in GitHub Desktop.
nix-prefetch-github --rev v1.59 terraform-providers terraform-providers-aws
Traceback (most recent call last):
File "/nix/store/9bdkrk47860qyd2g1qj6gqxmrr7lvs9h-nix-prefetch-github-2.2/bin/.nix-prefetch-github-wrapped", line 11, in <module>
sys.exit(_main())
File "/nix/store/23nalyvdblmhyzsxmksr5gy9gx8bqsxl-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/nix/store/23nalyvdblmhyzsxmksr5gy9gx8bqsxl-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/nix/store/23nalyvdblmhyzsxmksr5gy9gx8bqsxl-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/nix/store/23nalyvdblmhyzsxmksr5gy9gx8bqsxl-python3.7-click-7.0/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/nix/store/9bdkrk47860qyd2g1qj6gqxmrr7lvs9h-nix-prefetch-github-2.2/lib/python3.7/site-packages/nix_prefetch_github/__init__.py", line 213, in _main
output_dictionary = nix_prefetch_github(owner, repo, prefetch, rev)
File "/nix/store/9bdkrk47860qyd2g1qj6gqxmrr7lvs9h-nix-prefetch-github-2.2/lib/python3.7/site-packages/nix_prefetch_github/__init__.py", line 198, in nix_prefetch_github
return sync_perform(dispatcher(), main_intent())
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/_sync.py", line 34, in sync_perform
six.reraise(*errors[0])
File "/nix/store/1kx85bwdyq7x7n9lzkli02hg1m0aj8d8-python3.7-six-1.12.0/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/_base.py", line 78, in guard
return (False, f(*args, **kwargs))
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/do.py", line 121, in <lambda>
error=lambda e: _do(e, generator, True))
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/do.py", line 98, in _do
val = generator.throw(*result)
File "/nix/store/9bdkrk47860qyd2g1qj6gqxmrr7lvs9h-nix-prefetch-github-2.2/lib/python3.7/site-packages/nix_prefetch_github/__init__.py", line 187, in main_intent
rev=rev
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/_base.py", line 78, in guard
return (False, f(*args, **kwargs))
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/do.py", line 120, in <lambda>
return val.on(success=lambda r: _do(r, generator, False),
File "/nix/store/pph69vg27h0qkrs48r7sw9ax521rh5y3-python3.7-effect-0.12.0/lib/python3.7/site-packages/effect/do.py", line 100, in _do
val = generator.send(result)
File "/nix/store/9bdkrk47860qyd2g1qj6gqxmrr7lvs9h-nix-prefetch-github-2.2/lib/python3.7/site-packages/nix_prefetch_github/__init__.py", line 164, in prefetch_github
).format(owner=owner, repo=repo, output=output)
NameError: name 'output' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment