[Top][All Lists]

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

Re: Reproducible Research Hackathon: Friday, July 3rd

From: zimoun
Subject: Re: Reproducible Research Hackathon: Friday, July 3rd
Date: Fri, 03 Jul 2020 20:19:24 +0200

Dear Pauk,

On Fri, 03 Jul 2020 at 18:56, Paul Garlick 
<> wrote:

> One outstanding puzzle for me is to figure out how to test a package
> definition in a new channel.  For example, I have cloned the guix-past
> repository and started to add a new package.  However, what is the best
> workflow to attempt a build from the channel?  Do you add the channel
> to the git checkout of guix?

I do not know if it is the best but I do:

  guix build -L path/to/clone the-package
  guix install -L path/to/clone the-package -p /tmp/test

Otherwise, I put in a channels.scm file something like:

--8<---------------cut here---------------start------------->8---
    (name 'kikoo)
    (url "file:////home/simon/path/to/clone")
    (branch "master"))
  (name 'guix) ; avoid to recompute heavy derivations and build modules
  (url "";)
  (commit "000c7a0f70248ccf9dc774ef23da3e26d142c610"))
--8<---------------cut here---------------end--------------->8---

where commit is something I already have in /gnu/store, then:

  guix pull -C channels.scm -p /tmp/loc
  /tmp/loc/bin/guix install foo -p /tmp/test

but it is less convenient.

All the best,

reply via email to

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