gnu: acl: Use 'modify-phases' syntax.

* gnu/packages/acl.scm (acl)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
Efraim Flashner 2017-10-18 16:23:00 +03:00
parent fbea821a2a
commit 79272039a9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 10 deletions

View File

@ -47,16 +47,15 @@
`(#:tests? #f ; FIXME: Investigate test suite failures `(#:tests? #f ; FIXME: Investigate test suite failures
#:test-target "tests" #:test-target "tests"
#:phases #:phases
(alist-cons-after (modify-phases %standard-phases
'build 'patch-exec-bin-sh (add-after 'build 'patch-exec-bin-sh
(lambda _ (lambda _
(substitute* "test/run" (substitute* "test/run"
(("/bin/sh") (which "sh")))) (("/bin/sh") (which "sh")))
(alist-replace #t))
'install (replace 'install
(lambda _ (lambda _
(zero? (system* "make" "install" "install-lib" "install-dev"))) (zero? (system* "make" "install" "install-lib" "install-dev")))))))
%standard-phases))))
(inputs `(("attr" ,attr))) (inputs `(("attr" ,attr)))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)