guix-devel
[Top][All Lists]
Advanced

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

Re: 01/01: services: Add SRFI-26 to Nix activation gexp.


From: Ludovic Courtès
Subject: Re: 01/01: services: Add SRFI-26 to Nix activation gexp.
Date: Wed, 12 Jun 2019 14:06:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Tobias,

address@hidden skribis:

> commit 2be6b5e2eea9ac084cc22281f64f7a089e46cdae
> Author: Tobias Geerinckx-Rice <address@hidden>
> Date:   Tue Jun 11 20:50:37 2019 +0200
>
>     services: Add SRFI-26 to Nix activation gexp.

[...]

>  (define (nix-activation _)
>    "Return the activation gexp."
> -  (with-imported-modules '((guix build utils))
> +  (with-imported-modules '((guix build utils)
> +                           (srfi srfi-26))
>      #~(begin
> -        (use-modules (guix build utils))
> +        (use-modules (guix build utils)
> +                     (srfi srfi-26))

(srfi srfi-26) must not be added to the imported modules: it would
import it from the host Guile, but the host Guile version may differ
between users, and thus the resulting derivation would also differ.

The right thing is to just (use-modules (srfi srfi-26)), which has the
effect of using that module from the Guile being used for builds.

Could you adjust it accordingly?

Thanks, and thanks for the bug fix!

Ludo’.



reply via email to

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