From 79272039a9586aef8105007900b62dcb4b00ca9b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 18 Oct 2017 16:23:00 +0300 Subject: [PATCH] gnu: acl: Use 'modify-phases' syntax. * gnu/packages/acl.scm (acl)[arguments]: Use 'modify-phases' syntax. --- gnu/packages/acl.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm index ae6764993b..35bafc4c14 100644 --- a/gnu/packages/acl.scm +++ b/gnu/packages/acl.scm @@ -47,16 +47,15 @@ `(#:tests? #f ; FIXME: Investigate test suite failures #:test-target "tests" #:phases - (alist-cons-after - 'build 'patch-exec-bin-sh - (lambda _ - (substitute* "test/run" - (("/bin/sh") (which "sh")))) - (alist-replace - 'install - (lambda _ - (zero? (system* "make" "install" "install-lib" "install-dev"))) - %standard-phases)))) + (modify-phases %standard-phases + (add-after 'build 'patch-exec-bin-sh + (lambda _ + (substitute* "test/run" + (("/bin/sh") (which "sh"))) + #t)) + (replace 'install + (lambda _ + (zero? (system* "make" "install" "install-lib" "install-dev"))))))) (inputs `(("attr" ,attr))) (native-inputs `(("gettext" ,gettext-minimal)