From c55fa42b2d1b9c135eca1e73aa8c50cec211dba8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 20 Dec 2016 22:07:35 +0200 Subject: gnu: bogofilter: Use 'modify-phases'. * gnu/packages/mail.scm (bogofilter)[arguments]: Use 'modify-phases'. --- gnu/packages/mail.scm | 15 ++++++++------- 1 file 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/") -- cgit v1.2.3