[Top][All Lists]

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

[bug#30809] [PATCH 2/2] services: Add Gitolite.

From: Christopher Baines
Subject: [bug#30809] [PATCH 2/2] services: Add Gitolite.
Date: Sat, 22 Sep 2018 17:03:47 +0100
User-agent: mu4e 1.0; emacs 26.1

Christopher Baines <address@hidden> writes:

> I'm at a loss regarding what is going on here. I've tried testing on top
> of 8b8978ade and a previous commit, I've also reproduced this on two
> different computers.

Right, I think I've found a work around this problem!

Previously the activation gexp was like:

  #~(let* ...
      (use-modules (ice-9 match)
                   (guix build utils))


      (match ...

This seems to break, no idea why, but I think it's something to do with
the mystery of macros in Scheme/Guile.

I had a look at how other services were using primitive-fork, and the
PostgreSQL service does. However, it's activation gexp looks more like:

      (use-modules (ice-9 match)
                   (guix build utils))

      (let ...

        (match ...

So, I switched the gitolite activation phase around to use a begin as
the outer expression (rather than the let*), and it seems to work!

I've sent the patches again.


Attachment: signature.asc
Description: PGP signature

reply via email to

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