[***SPAM***] Re: [Nix-dev] Patching uname in stdenv?

Michael Raskin 7c6f434c at mail.ru
Wed Aug 17 12:35:10 CEST 2011


<16b0358b83ffeaf7d2876f231de4e64d.squirrel at webmail.shealevy.com>
<E1QtbrY-0003Pi-00.7c6f434c-mail-ru at smtp8.mail.ru>)
Mime-Version: 1.0
Content-type: text/plain; charset="UTF-8"

>> >> I guess default uname should say version of kernel from kernelheaders 
>> >> used for glibc, and kernelPackages one should say the kernel version
>> >> of the passed kernel?
>> >I'd like a list of the problems this would solve.
>> General idea is to forcibly remove one more impurity. 
>> FF6.0 release manages to trigger it.
>Is this impurity affecting the behaviour of FF6.0? If it is, I think they are
>doing something wrong. If they care about the API, they should check the kernel
>headers version.h, and not uname.

They do something wrong, they admit it, but this "wrong" is in their 
"6.0" release tarball. They have a fix, maybe it will be in 6.0.1 - I
have no idea.

But Nix has a few tricks to stop builders from doing obviously wrong 
things.

>Or is it simply storing what kernel was it running at build time, and you care
>on getting always the same 'hash' on the result directory?

Not really. 






More information about the nix-dev mailing list