aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-19 23:35:05 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-19 23:57:18 +0100
commit2eadd8285ac8f8ba40a803fe7cb539403a2cf9af (patch)
treed780ea4c69fa6f0b9a340ef2403189c609575d11
parentc27b31e8d24a46f23f6a08ccbb6eba2624f47831 (diff)
downloadguix-2eadd8285ac8f8ba40a803fe7cb539403a2cf9af.tar
guix-2eadd8285ac8f8ba40a803fe7cb539403a2cf9af.tar.gz
gnu: cuirass: Add Git to 'PATH'.
* gnu/packages/ci.scm (cuirass)[arguments]: In 'wrap-program' phase, add Git to 'PATH'. [inputs]: Add GIT.
-rw-r--r--gnu/packages/ci.scm8
1 files 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 @@ 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)