aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-07-31 11:08:32 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2017-07-31 15:46:50 +0200
commita919c25328daed45a13ed98d848fb6c51617bfbb (patch)
tree195b369e8dcce79bbd75a1c8bc930ccb95cebf43 /build-aux
parentc6ee3d9b1a741d49c5058d5b336b6e753aab55a1 (diff)
downloadcuirass-a919c25328daed45a13ed98d848fb6c51617bfbb.tar
cuirass-a919c25328daed45a13ed98d848fb6c51617bfbb.tar.gz
base: Report git errors.
* src/cuirass/base.scm (report-git-error): New procedure. (with-git-error-handling): New macro. (process-specs): Use with-git-error-handling to catch and report git errors. * build-aux/guix.scm (package)[inputs]: Add guile-git. * configure.ac: Check for (git) module. Also check that (git) exports git-error-message procedure.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/guix.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/guix.scm b/build-aux/guix.scm
index 583ef7e..c2f6cdb 100644
--- a/build-aux/guix.scm
+++ b/build-aux/guix.scm
@@ -80,6 +80,7 @@
'("guile@2.2"
"guile-json"
"guile-sqlite3"
+ "guile-git"
"guix")))
(native-inputs
(map spec+package-list