bbp-nixpkgs icon indicating copy to clipboard operation
bbp-nixpkgs copied to clipboard

git pkg does not work

Open wizmer opened this issue 5 years ago • 3 comments

For some reason, I have the following error message when I run git pull with nix git.

$ git pull
No user exists for uid XXXXX
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Maybe future myself will try to debug that...

wizmer avatar Nov 02 '18 13:11 wizmer

Are you on the cluster? If so, this is might be if git is using libc that isn't NSS aware, and this is only looking at /etc/passwd for the your UID. Just a guess.

Edit: not just on the cluster - anything using NSS for lookup.

mgeplf avatar Nov 02 '18 14:11 mgeplf

Spot on... So we are basically screwed ?

wizmer avatar Nov 02 '18 14:11 wizmer

You can probably use nss_wrapper, but it's a pain, imo.

mgeplf avatar Nov 02 '18 14:11 mgeplf