guix-devel
[Top][All Lists]
Advanced

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

Re: Making local development easy


From: Ludovic Courtès
Subject: Re: Making local development easy
Date: Tue, 21 Jun 2016 10:43:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

"Thompson, David" <address@hidden> skribis:

> On Thu, May 26, 2016 at 4:07 AM, Ludovic Courtès <address@hidden> wrote:
>
>> Even shorter:
>>
>>   (source "/some/file/out/there")
>>
>> or:
>>
>>   (source ".")
>
> I think there is a bug here because I've tried this at various points
> in time and it has never worked.  A pattern matcher somewhere fails
> because a string isn't considered an acceptable source object.

I haven’t experience this bug (and see "package-source-derivation, file"
in tests/packages.scm).  However, I’m happy to say that since commit
da675305ddf2ba574e309e515d18ae1f778297be, it is possible to use a
‘local-file’ there:

  (package
    ;; …
    (source (local-file "foo/bar" #:recursive? #t)))

See ‘current-guix’ in (gnu packages package-management) for an example.

Ludo’.



reply via email to

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