FATAL: Could not read the output of 'nix-prefetch-url'. This is a bug.
...
stderr:
error: unable to download 'https://github.com/mcwitt/private-repo/archive/a1aa158e7a56847cce649b4ea9f734bef45561d3.tar.gz': HTTP error 404
I can copy the URL into my browser and download the file without issue; it seems likely that the cause is GITHUB_TOKEN not being sent with the request.
I'm having trouble adding a private GitHub repo. To reproduce:
results in
I can copy the URL into my browser and download the file without issue; it seems likely that the cause is
GITHUB_TOKEN
not being sent with the request.