[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: cuirass: Add Git to 'PATH'.

From: Ludovic Courtès
Subject: 05/10: gnu: cuirass: Add Git to 'PATH'.
Date: Mon, 19 Dec 2016 22:58:30 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 2eadd8285ac8f8ba40a803fe7cb539403a2cf9af
Author: Ludovic Courtès <address@hidden>
Date:   Mon Dec 19 23:35:05 2016 +0100

    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 8cec629..27bdf3f 100644
--- a/gnu/packages/ci.scm
+++ b/gnu/packages/ci.scm
@@ -212,18 +212,22 @@ their dependencies.")
                (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))))))
        `(("guile" ,guile-2.0)
          ("guile-json" ,guile-json)
          ("guile-sqlite3" ,guile-sqlite3)
-         ("guix" ,guix)))
+         ("guix" ,guix)
+         ("git" ,git)))
        `(("autoconf" ,autoconf)
          ("automake" ,automake)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]