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*.
This commit is contained in:
parent
02ec889e6b
commit
5f2daffe09
|
@ -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…
Reference in New Issue