Skip to content

Git HTTP auth broken on master #9800

@roberth

Description

@roberth

Describe the bug

error: fetching '7834c97525906d34a42814ad42cc0a303591c0c7:7834c97525906d34a42814ad42cc0a303591c0c7' from 'https://github.com/hercules-ci/private-repo.git': remote authentication required but no callback set
warning: could not update local clone of Git repository 'https://github.com/hercules-ci/private-repo.git'; continuing with the most recent version

followed by the exception

error:
       … while fetching the input 'git+https://github.com/hercules-ci/private-repo.git?ref=refs/heads/foo&rev=7834c97525906d34a42814ad42cc0a303591c0c7'

       error: Cannot find Git revision '7834c97525906d34a42814ad42cc0a303591c0c7' in ref 'refs/heads/foo' of repository 'https://github.com/hercules-ci/private-repo.git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.

Steps To Reproduce

  1. Fetch from a private repo with a GitHub token

Expected behavior

nix-env --version output

Additional context

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions