From 4a78638f1fafd58839c012b546ae206168bb50ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 20 Dec 2016 10:19:15 +0100 Subject: [PATCH] gnu: cuirass: Make sure 'cuirass' has 'evaluate' in $PATH. * gnu/packages/ci.scm (cuirass)[arguments]: Add OUT/bin to 'PATH'. --- gnu/packages/ci.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 27bdf3f8ae..05c51bbc4d 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -217,8 +217,11 @@ their dependencies.") (mods (string-append json "/share/guile/site/2.0:" sqlite "/share/guile/site/2.0:" guix "/share/guile/site/2.0"))) + ;; Make sure 'cuirass' can find the 'git' and 'evaluate' + ;; commands, as well as the relevant Guile modules. (wrap-program (string-append out "/bin/cuirass") - `("PATH" ":" prefix (,(string-append git "/bin"))) + `("PATH" ":" prefix (,(string-append out "/bin") + ,(string-append git "/bin"))) `("GUILE_LOAD_PATH" ":" prefix (,mods)) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,mods))) #t))))))