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").master
parent
6cf27c89a5
commit
16a23d4ad2
|
@ -46,12 +46,12 @@
|
|||
(inputs `(("zlib" ,zlib)
|
||||
("util-linux" ,util-linux)))
|
||||
(arguments
|
||||
`(#:phases (alist-cons-after
|
||||
'unpack 'patch-remotetcp-harness
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-remotetcp-harness
|
||||
(lambda _
|
||||
(substitute* "tests/harness/backendmanager_remotetcp.cc"
|
||||
(("/bin/sh") (which "bash"))))
|
||||
%standard-phases)))
|
||||
(("/bin/sh") (which "sh"))))))))
|
||||
(synopsis "Search Engine Library")
|
||||
(description
|
||||
"Xapian is a highly adaptable toolkit which allows developers to easily
|
||||
|
|
Reference in New Issue