[Nix-dev] Re: NixOS has a non-conforming value for _CS_PATH. Do we care?

Lluís Batlle i Rossell viriketo at gmail.com
Wed Aug 31 08:28:23 CEST 2011


On Tue, Aug 30, 2011 at 11:38:39PM +0200, Ludovic Courtès wrote:
> Hi,
> 
> >> I think we should patch libc’s sysdeps/unix/confstr.h to use
> >> "/var/run/current-system/sw/bin" as its value.  This path allows access
> >> to “all of the standard utilities”, as POSIX puts it.
> 
> [...]
> 
> > For now, I think it's the best solution. I'd prefer a static solution and
> > one that will work on non-Nixos systems,
> 
> By definition, systems on which GNU libc is built off Nixpkgs are called
> “NixOS”, so there’s nothing to worry about here.  :-)

Any GNU/Linux that used nixpkgs would be using the GNU libc in nixpkgs, and not
'their'. We use the 'pure' stdenvLinux in any GNU/Linux (for the supported
platforms).



More information about the nix-dev mailing list