1 Fix runtime error due missing import
3 Traceback (most recent call last):
4 File "/nix/store/4qqhr7g9ri3n7v6ik9ahlpvyp18wcn4p-git-repo-2.15.3/bin/.repo-wrapped", line 1339, in <module>
6 File "/nix/store/4qqhr7g9ri3n7v6ik9ahlpvyp18wcn4p-git-repo-2.15.3/bin/.repo-wrapped", line 1304, in main
7 _Init(args, gitc_init=(cmd == 'gitc-init'))
8 File "/nix/store/4qqhr7g9ri3n7v6ik9ahlpvyp18wcn4p-git-repo-2.15.3/bin/.repo-wrapped", line 607, in _Init
9 _Clone(url, dst, opt.clone_bundle, opt.quiet, opt.verbose)
10 File "/nix/store/4qqhr7g9ri3n7v6ik9ahlpvyp18wcn4p-git-repo-2.15.3/bin/.repo-wrapped", line 912, in _Clone
11 if clone_bundle and _DownloadBundle(url, cwd, quiet, verbose):
12 File "/nix/store/4qqhr7g9ri3n7v6ik9ahlpvyp18wcn4p-git-repo-2.15.3/bin/.repo-wrapped", line 860, in _DownloadBundle
13 r = urllib.request.urlopen(url, context=ssl.create_default_context())
14 NameError: name 'ssl' is not defined
15 builder for '/nix/store/4hvds8fv8xmzlm86yg9cf1lj6hrya7sg-amdvlk-src.drv' failed with exit code 1
17 diff --git a/repo b/repo
18 index 8b05def..f394b3e 100755
21 @@ -236,8 +236,9 @@ import optparse
29 if sys.version_info[0] == 3: