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

Ludovic Courtès ludo at gnu.org
Tue Aug 30 23:38:39 CEST 2011


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.  :-)

> Once multiple outputs are working,

[...]

Woow, this seems really over-engineered to me;
/var/run/current-system/sw/bin is really the right location on NixOS.

Thanks,
Ludo’.



More information about the nix-dev mailing list