[Nix-dev] [Nix-commits] SVN commit: nix -r29559- nixpkgs/trunk/pkgs/os-specific/linux/kernel

Michael Raskin 7c6f434c at mail.ru
Sun Oct 2 14:24:37 CEST 2011


>Michael Raskin wrote:
>
>> <4E8846B7.6050907 at shealevy.com>)
>> Mime-Version: 1.0
>> Content-type: text/plain; charset="UTF-8"
>> 
>>>Shea Levy wrote:
>>>
>>>> On 10/02/2011 07:01 AM, Shea Levy wrote:
>>>>> scripts/depmod.sh, so our substituteInPlace to get rid of '-b
>>>I think that this is a good reason to use patches instead of sed magic...
>> 
>> It depends on what happens more often: people move files around or
>> rearrange the contents of the file...
>In both cases patch will fail, and the man who updates a package will know 
>that build is broken. The 'sed' line can be written in the patch header.

Some packages aff places we need to fix without losing the old ones.

Patch works better if the context includes function names, of course
(the order of functions usually change). 





More information about the nix-dev mailing list