Subject: Re: [bug#27696] [PATCH] gnu: Update g-wrap to use guile-2.2.

From: [email-masked] (Ludovic Courtès)
Date: Thu, 20 Jul 2017 10:54:33 +0200

Hi Theodoros,

Theodoros Foradis <[email-masked]> skribis:

> * gnu/packages/guile.scm (g-wrap): [propagated-inputs]: Use guile-2.2.
> [arguments]: Add "--disable-Werror" to configure-flags.

[...]

> +               (substitute* (find-files "." "^Makefile.in$")
> +                 (("guilemoduledir =.*guile/site" all)
> +                  (string-append all "/2.2")))

I changed “/2.2” to “/@GUILE_EFFECTIVE_VERSION@” and committed.

That way one can run:

  guix build g-wrap --with-input=[email-masked]=[email-masked]

and get a valid 2.0-based G-Wrap.

Thanks,
Ludo’.