[Top][All Lists]

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

Re: Add a generalized git-file? to Guix?

From: Ludovic Courtès
Subject: Re: Add a generalized git-file? to Guix?
Date: Thu, 12 Jan 2017 15:32:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


Mathieu Lirzin <address@hidden> skribis:

> Christopher Allan Webber <address@hidden> writes:
>> Thompson, David writes:
>>> Hi Christopher and Jan,
>>> On Tue, Jan 10, 2017 at 11:28 AM, Christopher Allan Webber
>>> <address@hidden> wrote:
>>>> Jan Nieuwenhuizen writes:
>>>>> Christopher Allan Webber writes:
>>>>>> Thanks!
>>>>>> The file is updated, and even nicer now, since I'm using a hack from
>>>>>> guile-sdl2 which allows you to set the source to the whole checkout.
>>>>> Ohh!  That needs to go in the Guix manual... could git-file? be added
>>>>> to guix/utils?
>>>> Maybe!  I think David knows more about the provenance?
>>> I took this code from Ludovic.  See make-git-predicate in
>>> gnu/packages/package-management.scm in the Guix source tree.
>>>> I agree it would be nice to have in Guix itself.
>>> Agreed.  A generalized and publicly available procedure would be great.
>>> - Dave
>> Hello!  See the above conversation... 8sync now uses `git-file?' in its
>> guix.scm, a predicate check which allows for checking out the whole
>> local directory as a "source" for testing a package.  I borrowed it from
>> Dave who originally adapted it from some code in Guix itself.  See:
>> This is pretty handy; probably other projects would like to make use of
>> it.  What do we think of making it a generally available utility?
> I would make use of it and I am in favour of adding it to Guix.

I think it comes from ‘current-guix’ in package-management.scm, and yes,
we should probably make it public.

Would someone like to submit a patch?  The most difficult issue is
finding in file in which to store it.  ;-)  Maybe git-download.scm?


reply via email to

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