[Nix-dev] Impossible to use Nix + fetchgit on any Linux configured with LDAP authentication /libnss_sss

Adrien Devresse Adev at adev.name
Fri Jun 5 00:10:10 CEST 2015


Hi,

I triggered this failure (http://pastebin.com/Lw6a0p4J) while trying to
use nix on a RHEL 6.5 configuration setup with ldap authentication (
sssd + libnss_sss ).

After a bit of research, this is due to the dependency of git on
getpwuid and to the fact that the nix glibc do not have by default
libnss_sss nor can use the one of the host operating system.


The problem has already been reported in case of firefox (
https://github.com/NixOS/nix/issues/209 ).

However, it is way more harmful in case of git/fetchgit : it makes
impossible to compile any expression using fetchgit on a host using
sssd, which is a configuration unfortunatly quite common in the academic
world .

What would be the best solution of this problem ? Is there any other
solution than extending stdenv with libnss_sss and recompiling the
entire software stack ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150605/ca6394a0/attachment.bin 


More information about the nix-dev mailing list