~ruther/guix-local

ed69ed73c1bf30a3903d63926c04af50a48aedf5 — Efraim Flashner 11 months ago 57b43d9
guix: gnu-dist: Fix distcheck.

* guix/build/gnu-dist.scm (build): Add a configure-flag during the
distcheck rebuild to use a shell we have in the build environment.

Change-Id: I3519ab498ef47728729297a70ac1dce8e1b922ee
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/build/gnu-dist.scm
M guix/build/gnu-dist.scm => guix/build/gnu-dist.scm +3 -0
@@ 1,6 1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015, 2020, 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2025 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 37,6 38,8 @@
    (let ((build (assq-ref %standard-phases 'build)))
      (apply build args)))
  (format #t "building target `~a'~%" dist-target)
  (setenv "DISTCHECK_CONFIGURE_FLAGS"
          (string-append "SHELL=" (which "sh")))
  (apply invoke "make" dist-target make-flags))

(define* (install-dist #:key outputs #:allow-other-keys)