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

View file

@ -217,8 +217,11 @@ (define-public cuirass
(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))))))