summaryrefslogtreecommitdiff
path: root/bin/cuirass.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cuirass.in')
-rw-r--r--bin/cuirass.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index 862bcc7..9e0cf2b 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -87,7 +87,10 @@ DIR if required."
(save-module-excursion
(lambda ()
(set-current-module %user-module)
- (primitive-load (string-append dir "/" spec))))
+ (let ((guixdir (string-append dir "/guix")))
+ (format #t "prepending ~s to the load path~%" guixdir)
+ (set! %load-path (cons guixdir %load-path)))
+ (primitive-load spec)))
(let ((store ((guix-variable 'store 'open-connection))))
(dynamic-wind
(const #t)
@@ -124,8 +127,7 @@ DIR if required."
(show-version progname)
(exit 0))
(else
- (let* ((jobfile (option-ref opts 'file
- "guix/build-aux/hydra/gnu-system.scm"))
+ (let* ((jobfile (option-ref opts 'file "tests/gnu-system.scm"))
(args (option-ref opts '() #f))
(cachedir (if (null? args)
(getenv "CUIRASS_CACHEDIR")