mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: acl: Use 'modify-phases' syntax.
* gnu/packages/acl.scm (acl)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
fbea821a2a
commit
79272039a9
1 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
(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)
|
||||
|
|
Loading…
Reference in a new issue