From 2eadd8285ac8f8ba40a803fe7cb539403a2cf9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 19 Dec 2016 23:35:05 +0100 Subject: [PATCH] gnu: cuirass: Add Git to 'PATH'. * gnu/packages/ci.scm (cuirass)[arguments]: In 'wrap-program' phase, add Git to 'PATH'. [inputs]: Add GIT. --- gnu/packages/ci.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 8cec629529..27bdf3f8ae 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -212,18 +212,22 @@ (define-public cuirass (let* ((out (assoc-ref outputs "out")) (json (assoc-ref inputs "guile-json")) (sqlite (assoc-ref inputs "guile-sqlite3")) + (git (assoc-ref inputs "git")) (guix (assoc-ref inputs "guix")) (mods (string-append json "/share/guile/site/2.0:" sqlite "/share/guile/site/2.0:" guix "/share/guile/site/2.0"))) (wrap-program (string-append out "/bin/cuirass") + `("PATH" ":" prefix (,(string-append git "/bin"))) `("GUILE_LOAD_PATH" ":" prefix (,mods)) - `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,mods))))))))) + `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,mods))) + #t)))))) (inputs `(("guile" ,guile-2.0) ("guile-json" ,guile-json) ("guile-sqlite3" ,guile-sqlite3) - ("guix" ,guix))) + ("guix" ,guix) + ("git" ,git))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake)