summaryrefslogtreecommitdiff
path: root/guix/quirks.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-15 11:53:13 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-15 12:27:10 +0200
commit9db8836916d0e79f86ac63fbd9b77096d83abfa1 (patch)
treeb1de31a438de41080e7ce41f7f165399a6900bd3 /guix/quirks.scm
parent04191985cc7581148bf3f3872f6deb20b6a98514 (diff)
downloadguix-patches-9db8836916d0e79f86ac63fbd9b77096d83abfa1.tar
guix-patches-9db8836916d0e79f86ac63fbd9b77096d83abfa1.tar.gz
channels: 'build-from-source' restores '%guile-for-build'.
Not restoring it would cause problems when running: guix time-machine --commit=6298c3ffd9654d3231a6f25390b056483e8f407c or similar because the target Guix would be built with 2.2, and then we'd erroneously go on and attempt build the profile with 2.2. This would fail because profile dependencies such as "guile-gdbm-ffi" now target 3.0. * guix/channels.scm (call-with-guile): New procedure. (with-guile): New macro. (build-from-source): Use it instead of calling 'set-guile-for-build' just once. This ensures that '%guile-for-build' is restored afterwards.
Diffstat (limited to 'guix/quirks.scm')
0 files changed, 0 insertions, 0 deletions