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

* gnu/packages/search.scm (xapian)[arguments]: Use 'modify-phases'. Fix
'/bin/sh' substitution to use (which "sh") instead of (which "bash").
This commit is contained in:
Marius Bakke 2016-10-07 01:36:50 +01:00
parent 6cf27c89a5
commit 16a23d4ad2
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 6 deletions

View File

@ -46,12 +46,12 @@
(inputs `(("zlib" ,zlib) (inputs `(("zlib" ,zlib)
("util-linux" ,util-linux))) ("util-linux" ,util-linux)))
(arguments (arguments
`(#:phases (alist-cons-after `(#:phases
'unpack 'patch-remotetcp-harness (modify-phases %standard-phases
(add-after 'unpack 'patch-remotetcp-harness
(lambda _ (lambda _
(substitute* "tests/harness/backendmanager_remotetcp.cc" (substitute* "tests/harness/backendmanager_remotetcp.cc"
(("/bin/sh") (which "bash")))) (("/bin/sh") (which "sh"))))))))
%standard-phases)))
(synopsis "Search Engine Library") (synopsis "Search Engine Library")
(description (description
"Xapian is a highly adaptable toolkit which allows developers to easily "Xapian is a highly adaptable toolkit which allows developers to easily