guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The new patch method and mit-krb5


From: Ludovic Courtès
Subject: Re: The new patch method and mit-krb5
Date: Wed, 30 Oct 2013 19:15:32 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> On Wed, Oct 30, 2013 at 04:35:26PM +0100, Ludovic Courtès wrote:
>> The new method won’t work in this case.
>> Thus, the patch has to be applied manually with
>
> Alternatively, could we modify
>    (guix packages patch-and-repack)
> so that instead of calling "tar" directly, it executes the phase named 'unpack
> of the package? After that, it would apply the patches and repackage.

The notion of phases is internal to the build system, so we can’t really
do that.

What we could do is to add a ‘snippet’ field in <origin> where users
could provide an expression to use as the patch phase.

> This would be more flexible. For instance, we could use it to derive a udev
> source tarball out of the systemd sources, which would then be returned via
>    guix build udev -S

Nice example.  ;-)

Though I suppose this case is easily addressed with just (chdir "udev")
or something similar no?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]