summary refs log tree commit diff
path: root/gnu/system/install.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-03 17:14:41 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-03 19:12:16 +0100
commitcdc938daf91f159e082c5b81a44b074f7bf6d991 (patch)
treed50b2873ba263a6c18c0683d3f8266804d2d5794 /gnu/system/install.scm
parentd112e5a8c2cfc3ff32b143f5a92964e849631ca2 (diff)
downloadguix-cdc938daf91f159e082c5b81a44b074f7bf6d991.tar.gz
profiles: Do not import the host's srfi-{19,26}.scm files.
Previously the "manual-database" derivation would always import the
host's srfi-{19,26}.scm files in the build side.  In practice this means
that different users could get different manual-database.drv depending
on the Guile version they're using in the host.

For example, the (gnu tests install) tests would fail if the host was
running Guile 2.2.3 because the guest is running 2.2.2, and thus has
different srfi-{19,26}.scm files.  The manual-database.drv would need to
be built from source, which would fail because prerequisites were
missing.

Reported by Mathieu Othacehe <m.othacehe@gmail.com>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29409#96>.

* guix/profiles.scm (manual-database): Do not pass #:modules to
'gexp->derivation'.  Wrap 'build' gexp in 'with-imported-modules' form.
Diffstat (limited to 'gnu/system/install.scm')
0 files changed, 0 insertions, 0 deletions