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

View file

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