From 5996aab354831d942b10253bc70217a4f2e6a247 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 11 Feb 2022 17:24:39 +0100 Subject: build-system/texlive: Be explicit about #:guile-for-build. This ensures package derivations are not a function of the value of (%guile-for-build). * guix/build-system/texlive.scm (texlive-build): Explicitly pass #:guile-for-build to 'gexp->derivation'. --- guix/build-system/texlive.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'guix') diff --git a/guix/build-system/texlive.scm b/guix/build-system/texlive.scm index 09907c67d8..dbb72cd24a 100644 --- a/guix/build-system/texlive.scm +++ b/guix/build-system/texlive.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Ricardo Wurmus -;;; Copyright © 2021 Ludovic Courtès +;;; Copyright © 2021-2022 Ludovic Courtès ;;; Copyright © 2021 Thiago Jung Bauermann ;;; ;;; This file is part of GNU Guix. @@ -177,10 +177,13 @@ level package ID." (map search-path-specification->sexp search-paths))))))) - (gexp->derivation name builder - #:system system - #:target #f - #:substitutable? substitutable?)) + (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) + system #:graft? #f))) + (gexp->derivation name builder + #:system system + #:target #f + #:substitutable? substitutable? + #:guile-for-build guile))) (define texlive-build-system (build-system -- cgit v1.2.3