gnu: cuirass: Make sure 'cuirass' has 'evaluate' in $PATH.

* gnu/packages/ci.scm (cuirass)[arguments]: Add OUT/bin to 'PATH'.
This commit is contained in:
Ludovic Courtès 2016-12-20 10:19:15 +01:00
parent 137f8df66c
commit 4a78638f1f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -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))))))