summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-12-20 22:07:35 +0200
committerEfraim Flashner <efraim@flashner.co.il>2016-12-20 22:43:06 +0200
commitc55fa42b2d1b9c135eca1e73aa8c50cec211dba8 (patch)
treefafca5edc2f072fe7fcdec0ba2a1841da7a72764 /gnu/packages
parent329e0a9ca0ba004d4207dd985e122f8ea02e033a (diff)
gnu: bogofilter: Use 'modify-phases'.
* gnu/packages/mail.scm (bogofilter)[arguments]: Use 'modify-phases'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mail.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 0ebc91eb0f..3739f8ba80 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -305,13 +305,14 @@ Extension (MIME).")
"1d56n2m9inm8gnzm88aa27xl2a7sp7aff3484vmflpqkinjqf0p1"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (alist-cons-before
- 'check 'pre-check
- (lambda _
- (substitute* "src/tests/t.frame"
- (("GREP=/bin/grep")
- (string-append "GREP=" (which "grep") "\n"))))
- %standard-phases)))
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (substitute* "src/tests/t.frame"
+ (("GREP=/bin/grep")
+ (string-append "GREP=" (which "grep") "\n")))
+ #t)))))
(native-inputs `(("flex" ,flex)))
(inputs `(("bdb" ,bdb)))
(home-page "http://bogofilter.sourceforge.net/")