Hi Shea,

Shea Levy <[email protected]> skribis:

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

>> Shea Levy<[email protected]>  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’.

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to