guix-devel
[Top][All Lists]
Advanced

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

Re: How to build Guix to send a patch when Guix build fails?


From: zimoun
Subject: Re: How to build Guix to send a patch when Guix build fails?
Date: Thu, 01 Oct 2020 15:54:06 +0200

Dear,

On Thu, 01 Oct 2020 at 11:07, Denis 'GNUtoo' Carikli 
<GNUtoo@cyberdimension.org> wrote:

> I did it with the following hardware and distributions configurations:
> - Architecture: i686
> - Host distribution: Parabola i686 with a x86_64 kernel (5.7.2-gnu-1-64)
> - Guix architecture: i686

I do not know what happens here, since i686 and x86_64.


> I also tried on another machine with the following configuration:
> - Architecture: x86-64
> - Host distribution: Parabola x86_64 without guile-json installed
> - Guix architecture: x86_64
> - Guix environment command: 'guix environment --pure guix --ad-hoc
>   guile-json

On this machine, the following commands should work:

  git pull
  guix pull 
  guix environment -C guix
  ./bootstrap
  ./configure --localstatedir=/var/
  make

The issue with ’guile-json’ could come from the Guix version used to
create the environment, that’s why before you need to do a “guix pull”.
It does not matter of the package is already installed or not;  that’s
the point to “guix environment guix” to fetch all the requirements.


If you do not want to update your profile, you can run:

  guix time-machine --commit=51eb3e113c478f0683e92412785ee82e56c45621 \
       -- environment -C guix
  ./bootstrap && ./configure --localstatedir=/var/ && make


Hope that helps,
simon




reply via email to

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