aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-20 10:19:15 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-20 10:27:08 +0100
commit4a78638f1fafd58839c012b546ae206168bb50ab (patch)
tree5fced879e7e8f8023a71ecb653d74edf22ca98a1
parent137f8df66cf7220f6ef9ac736b8f99e2fc726e15 (diff)
downloadpatches-4a78638f1fafd58839c012b546ae206168bb50ab.tar
patches-4a78638f1fafd58839c012b546ae206168bb50ab.tar.gz
gnu: cuirass: Make sure 'cuirass' has 'evaluate' in $PATH.
* gnu/packages/ci.scm (cuirass)[arguments]: Add OUT/bin to 'PATH'.
-rw-r--r--gnu/packages/ci.scm5
1 files changed, 4 insertions, 1 deletions
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))))))