From d418031a8cbdea4e2bc5c52ea1b29ad369579bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 26 Jun 2022 15:33:17 +0200 Subject: self: 'guix-daemon' wrapper refers to the right Guile. Partly fixes . Reported by Julien Lepiller . * guix/self.scm (whole-package)[wrap]: Pass #:guile to 'program-file'. --- guix/self.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/self.scm b/guix/self.scm index 36ada4d171..d1ccec8a49 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2017-2022 Ludovic Courtès ;;; Copyright © 2020 Martin Becze ;;; ;;; This file is part of GNU Guix. @@ -699,7 +699,8 @@ Info manual." (setenv "NIX_STORE_DIR" #$%storedir)) (apply execl #$(file-append daemon "/bin/guix-daemon") - "guix-daemon" (cdr (command-line)))))) + "guix-daemon" (cdr (command-line)))) + #:guile guile)) (computed-file name (with-imported-modules '((guix build utils)) -- cgit v1.2.1