build: Disable grafting in sanity checks.
* build-aux/check-available-binaries.scm: Wrap body in 'parameterize' form that clears '%graft?'. * build-aux/check-final-inputs-self-contained.scm: Likewise.
This commit is contained in:
parent
9ffee4571c
commit
43da8f018d
|
@ -29,6 +29,7 @@
|
||||||
(srfi srfi-26))
|
(srfi srfi-26))
|
||||||
|
|
||||||
(with-store store
|
(with-store store
|
||||||
|
(parameterize ((%graft? #f))
|
||||||
(let* ((native (append-map (lambda (system)
|
(let* ((native (append-map (lambda (system)
|
||||||
(map (cut package-derivation store <> system)
|
(map (cut package-derivation store <> system)
|
||||||
(list %bootstrap-tarballs emacs)))
|
(list %bootstrap-tarballs emacs)))
|
||||||
|
@ -52,4 +53,4 @@
|
||||||
(when result
|
(when result
|
||||||
(format (current-error-port) "~a packages found substitutable~%"
|
(format (current-error-port) "~a packages found substitutable~%"
|
||||||
(length total)))
|
(length total)))
|
||||||
(exit result))))
|
(exit result)))))
|
||||||
|
|
|
@ -73,8 +73,9 @@ refer to the bootstrap tools."
|
||||||
|
|
||||||
;; Entry point.
|
;; Entry point.
|
||||||
(with-store store
|
(with-store store
|
||||||
|
(parameterize ((%graft? #f))
|
||||||
(set-build-options store #:use-substitutes? #t)
|
(set-build-options store #:use-substitutes? #t)
|
||||||
|
|
||||||
(for-each (cut test-final-inputs store <>)
|
(for-each (cut test-final-inputs store <>)
|
||||||
%supported-systems))
|
%supported-systems)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue