You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mf@Michis:~/nixkell$ niv update
Updating all packages
Package: nixpkgs
Package: gitignore
Package: treefmt
FATAL: Could not read the output of 'git'.
command: git ls-remote [email protected]:numtide/treefmt.git refs/heads/master
stdout:
stderr: [email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is a bug. Please create a ticket: https://github.com/nmattia/niv/issues/new
Thanks! I'll buy you a beer.
FATAL: One or more packages failed to update:
treefmt: ExitFailure 1
ERROR: ExitFailure 1
The text was updated successfully, but these errors were encountered:
Hi! I suggest removing your treefmt entry and adding it like this:
$ niv add numtide/treefmt
or adding you SSH key to your SSH agent. Niv is calling git to update the repo and git is expecting an SSH key since the repo is adding with the ssh protocol.
mf@Michis:~/nixkell$ niv update
Updating all packages
Package: nixpkgs
Package: gitignore
Package: treefmt
FATAL: Could not read the output of 'git'.
command: git ls-remote [email protected]:numtide/treefmt.git refs/heads/master
stdout:
stderr: [email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is a bug. Please create a ticket:
https://github.com/nmattia/niv/issues/new
Thanks! I'll buy you a beer.
FATAL: One or more packages failed to update:
treefmt: ExitFailure 1
ERROR: ExitFailure 1
The text was updated successfully, but these errors were encountered: