Browse Source

self: System tests depend on CLI modules.

This is because (gnu tests docker) depends on (guix scripts pack).

* guix/self.scm (compiled-guix)[*system-test-modules*]: Add dependency
on *CLI-MODULES*.
snapper
Ludovic Courtès 3 years ago
parent
commit
5f2daffe09
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 21
      guix/self.scm

21
guix/self.scm

@ -621,16 +621,6 @@ Info manual."
#:guile-for-build
guile-for-build))
(define *system-test-modules*
;; Ship these modules mostly so (gnu ci) can refer to them.
(scheme-node "guix-system-tests"
`((gnu tests)
,@(scheme-modules* source "gnu/tests"))
(list *core-package-modules* *package-modules*
*extra-modules* *system-modules* *core-modules*)
#:extensions dependencies
#:guile-for-build guile-for-build))
(define *cli-modules*
(scheme-node "guix-cli"
(append (scheme-modules* source "/guix/scripts")
@ -641,6 +631,17 @@ Info manual."
#:extensions dependencies
#:guile-for-build guile-for-build))
(define *system-test-modules*
;; Ship these modules mostly so (gnu ci) can discover them.
(scheme-node "guix-system-tests"
`((gnu tests)
,@(scheme-modules* source "gnu/tests"))
(list *core-package-modules* *package-modules*
*extra-modules* *system-modules* *core-modules*
*cli-modules*) ;for (guix scripts pack), etc.
#:extensions dependencies
#:guile-for-build guile-for-build))
(define *config*
(scheme-node "guix-config"
'()

Loading…
Cancel
Save