$ nix-init pkgs/python3/pkgs/dephell-links/default.nix --url https://github.com/dephell/dephell_links
Enter tag or revision (defaults to v.0.1.5)
❯ v.0.1.5
Enter version
❯ 0.1.5
Enter pname
❯ dephell-links
Error: command exited with exit status: 1
stdout:
stderr:
$ nix flake prefetch --extra-experimental-features 'nix-command flakes' --json github:dephell/dephell_links/v.0.1.5
error:
… while fetching the input 'github:dephell/dephell_links/v.0.1.5'
error: unable to download 'https://api.github.com/repos/dephell/dephell_links/commits/v.0.1.5': HTTP error 403
response body:
{"message":"API rate limit exceeded for 123.123.123.123. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
Error: command exited with exit status: 1
~/src/milahu/nur-packages $ nix-init pkgs/python3/pkgs/dephell-links/default.nix --url https://github.com/dephell/dephell_links
Enter tag or revision (defaults to )
❯
Error: Interrupted
expected: nix-init should suggest the tag v.0.1.5
... or nix-init should fail early, not after i enter tag, version, pname
$ nix-init pkgs/python3/pkgs/dephell-links/default.nix --url https://github.com/dephell/dephell_links
Enter tag or revision (defaults to )
❯ v.0.1.5
Enter version
❯ 0.1.5
Enter pname
❯ dephell-links
Error: command exited with exit status: 1
stdout:
stderr:
$ nix flake prefetch --extra-experimental-features 'nix-command flakes' --json github:dephell/dephell_links/v.0.1.5
error:
… while fetching the input 'github:dephell/dephell_links/v.0.1.5'
error: unable to download 'https://api.github.com/repos/dephell/dephell_links/commits/v.0.1.5': HTTP error 403
response body:
{"message":"API rate limit exceeded for 79.253.18.58. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
Error: command exited with exit status: 1
expected: nix-init should suggest the tag
v.0.1.5
... or nix-init should fail early, not after i enter tag, version, pname