~ruther/guix-local

4a78638f1fafd58839c012b546ae206168bb50ab — Ludovic Courtès 9 years ago 137f8df
gnu: cuirass: Make sure 'cuirass' has 'evaluate' in $PATH.

* gnu/packages/ci.scm (cuirass)[arguments]: Add OUT/bin to 'PATH'.
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/ci.scm
M gnu/packages/ci.scm => gnu/packages/ci.scm +4 -1
@@ 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))))))