[Nix-dev] Fwd: Nixpkgs stdenv upgrade

Jack Cummings jack at mudshark.org
Fri Mar 9 10:29:09 CET 2012


On Thu, Mar 08, 2012 at 09:23:33AM -0500, Shea Levy wrote:

> >>> If it was caused by a build-time impurity, then simply using the binaries from
> >>> the Nixpkgs channel should fix this.  As far as I can tell the Glibc binary in
> >>> our channel doesn't reference /lib64.

> >> This seems like an incomplete approach to this problem.

> > I didn't mean to imply that it was.  Impurities should be fixed, of course.
 
> As a stop-gap, maybe we could patchelf gencat?

As a background, this isn't an environment where I can use chroot() builds. I
suppose I could set up a VM to do it, and put the nix store in the same place,
or use a LD_PRELOAD based chroot-alike approach. But those are *both* projects
that I'm not really sure I want to undertake right now.. 

Here's a patch that tries to cover up some of the impurities in the stdenv
bootstrapping.

--
Jack (John) Cummings                           http://mudshark.org/
PGP fingerprint: A927 992E 197B 0A86 27BC  964D A1DA CBAC CC48 B110
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdenv-no_chroot.patch
Type: text/x-diff
Size: 2032 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120309/4ff29c07/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120309/4ff29c07/attachment-0003.bin 


More information about the nix-dev mailing list