From 45477c6a7d057e26046c9ca90b7bf7869ea71803 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 25 Jul 2016 00:18:15 +0300 Subject: gnu: gnupg@2.1: Use 'modify-phases'. * gnu/packages/gnupg.scm (gnupg@2.1)[arguments]: Use 'modify-phases' syntax. --- gnu/packages/gnupg.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 9a6694e6c2..d18a8de22c 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -236,12 +236,12 @@ compatible to GNU Pth.") (arguments `(#:configure-flags '("--enable-gpg2-is-gpg") #:phases - (alist-cons-before - 'configure 'patch-config-files - (lambda _ - (substitute* "tests/openpgp/defs.inc" - (("/bin/pwd") (which "pwd")))) - %standard-phases))) + (modify-phases %standard-phases + (add-before 'configure 'patch-config-files + (lambda _ + (substitute* "tests/openpgp/defs.inc" + (("/bin/pwd") (which "pwd"))) + #t))))) (home-page "https://gnupg.org/") (synopsis "GNU Privacy Guard") (description -- cgit v1.2.3