aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-05-09 17:04:02 +0200
committerLudovic Courtès <ludo@gnu.org>2017-05-09 18:08:24 +0200
commit838ba73d6e49bd2b1f2d4ed9329b65cc4e8c1f54 (patch)
tree85064ce205b7a1b441760c40f5c034446e717c23 /m4
parent75c260ba5ae7baec44d2b5bf6ae57734eeebcd2f (diff)
downloadguix-838ba73d6e49bd2b1f2d4ed9329b65cc4e8c1f54.tar
guix-838ba73d6e49bd2b1f2d4ed9329b65cc4e8c1f54.tar.gz
pull: Build with the matching Guile major version.
Previously, 'guix pull' would always build with Guile 2.0. Now it builds with the Guile that matches (effective-version). * build-aux/build-self.scm (false-if-wrong-guile) (package-for-current-guile): New procedures. (guile-json, guile-ssh): Use it. (guile-for-build): New procedure. (build): Use (effective-version) instead of the hard-coded "/2.0". Add (guix modules) closure to #:modules argument. Pass \#:guile-for-build argument to 'gexp->derivation'. * guix/build/pull.scm (depends-on-guile-ssh?, all-scheme-files): New procedures. (build-guix): Show the output of (version). Use the above procedures. Filter out files that match 'depends-on-guile-ssh?' when (ssh session) is missing.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions