[Nix-dev] Kernel/libc coupling

Ludovic Courtès ludo at gnu.org
Sun Oct 2 00:07:47 CEST 2011


Hi Shea,

Shea Levy <shea at shealevy.com> skribis:

> On 10/01/2011 05:27 PM, Ludovic Courtès wrote:

>> Shea Levy<shea at shealevy.com>  skribis:
>>
>>> Author: shlevy
>>> Date: Fri Sep 30 15:34:37 2011
>>> New Revision: 29546
>>> URL: https://ssl.nixos.org/websvn/nix/?rev=29546&sc=1
>>>
>>> Log:
>>> Have the kernel headers be a linuxPackage, use the current linuxPackage's headers
>> I think you don’t want to do it because this would create more coupling
>> than needed between Linux and the GNU libc, and because it would
>> increase the frequency of full rebuilds (LTS Linux releases are more
>> frequent than stdenv updates in Nixpkgs.)

[...]

> If you look at my next few commits, I add two passthru attributes to 
> pkgs/os-specific/linux/kernel/generic.nix to set the headersSrc and 
> headersVersion if the default kernel is updated so we can avoid 
> rebuilds.

Right, I hadn’t seen them.

> IMO the linux headers are absolutely a kernel package and it's silly
> to have a different expression file

Yes, agreed.

OTOH the proposed single expression with meta.passthru doesn’t look so
much easier, does it?  :-)

Thanks,
Ludo’.



More information about the nix-dev mailing list