guix-commits
[Top][All Lists]
Advanced

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

101/155: gnu: cuirass: Add Git to 'PATH'.


From: John Darrington
Subject: 101/155: gnu: cuirass: Add Git to 'PATH'.
Date: Wed, 21 Dec 2016 20:48:37 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit 6abbb577bbc21c1dda91777a0efdee54ee723a1a
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))))))
       (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)



reply via email to

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