[Nix-dev] Re: OpenSSH impurity

Peter Simons simons at cryp.to
Fri Jul 3 14:45:44 CEST 2009


Hi Lluís,

 > IMO, /etc/sshd/ files should be as honored as /etc/bashrc.

this means, however, that the package won't work when Nix it's used on of a
host OS that has an incompatible version of those files installed -- which
is exactly the problem I'm in right now.

The same applies to /etc/bashrc. Nix uses bash 4.x. What happens when I try
to start the Nix-bash on a system that has some broken /etc/bashrc file,
because it comes from an ancient version of the package? In that case, the
user wouldn't be able to run bash! That doesn't sound right.

To me, it feels like Nix packages should ignore all paths outside of
/nix/store and /nix/var.

Take care,
Peter




More information about the nix-dev mailing list