Subject: [PATCH] re2: add missing '#:modules' imports

From: Sergei Trofimovich <[email-masked]>
Date: Sun, 7 May 2017 11:48:37 +0100

Noticed as a 're2' build failure:

/gnu/store/...-re2-2017-03-01-guile-builder:1:2276: source expression failed
to match any pattern in form (%modify-phases phases* (delete (quote configure)))

* gnu/packages/regex.scm (re2): add missing '#:modules' imports

Signed-off-by: Sergei Trofimovich <[email-masked]>
---
 gnu/packages/regex.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/regex.scm b/gnu/packages/regex.scm
index f55faaf04..779050525 100644
--- a/gnu/packages/regex.scm
+++ b/gnu/packages/regex.scm
@@ -41,7 +41,10 @@
                  "1s3kdcrz2mwi30k6pz9jkv5vk8b704bz65xgcr67wbn2pn3hpnqr"))))
      (build-system gnu-build-system)
      (arguments
-      `(#:test-target "test"
+      `(#:modules ((guix build gnu-build-system)
+                   (guix build utils)
+                   (srfi srfi-1))
+        #:test-target "test"
         ;; There is no configure step, but the Makefile respects a prefix.
         ;; As ./configure does not know anything about the target CXX
         ;; we need to specify TARGET-g++ explicitly.
-- 
2.12.2