gnu: cuirass: Add Git to 'PATH'.

* gnu/packages/ci.scm (cuirass)[arguments]: In 'wrap-program' phase, add
Git to 'PATH'.
[inputs]: Add GIT.
This commit is contained in:
Ludovic Courtès 2016-12-19 23:35:05 +01:00
parent c27b31e8d2
commit 2eadd8285a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)