[Nix-dev] stdenv updates for non-nixos

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Apr 10 16:54:31 CEST 2012


Hi,

On 09/04/12 23:18, jack-nix at mudshark.org wrote:

> Here's an updated version of my glibc rpath patch that solves a few more cases
> with libnss_* and friends. 

The better solution is to prevent Glibc from looking in /etc/ld.so.cache.  This
is an unintended side-effect of r30069:

* Build Glibc with sysconfdir set to /etc.  This causes it to look for
  ‘localtime’ (the default time zone definition) in /etc rather than
  $out/etc, allowing us to override the time zone globally in NixOS.

Before this change, our Glibc looked in $out/etc/ld.so.cache, which didn't exist.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list