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:
parent
6cf27c89a5
commit
16a23d4ad2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue