bug-guix
[Top][All Lists]
Advanced

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

bug#25242: Cannot build source derivations with a custom TMPDIR


From: Ludovic Courtès
Subject: bug#25242: Cannot build source derivations with a custom TMPDIR
Date: Wed, 21 Dec 2016 22:29:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> On Wed, Dec 21, 2016 at 10:20:20AM +0100, Ludovic Courtès wrote:
>> Good catch!
>> 
>> AFAICS the flaw is that there’s one place where I wrote:
>> 
>>   if (useChroot && !isBuiltin(drv))
>> 
>> while several other places just do something like:
>> 
>>   if (useChroot)
>> 
>> Could the patch below solve the problem?
>
> I'm not sure how to test patches to the daemon. Does it require creating
> a new guix-devel snapshot?

You can apply it to your source tree and run:

  sudo ./pre-inst-env guix-daemon --build-users-group=guixbuild

from there (or similar).

HTH!

Ludo’.





reply via email to

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