aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-10-07 01:36:50 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-10-19 17:00:43 +0100
commit16a23d4ad27d3149a307e5fd1f3bebe81ee4dc3f (patch)
tree6202b44163634a9c0f10f2ac3b0d5ecb77ff8056 /gnu
parent6cf27c89a579fa7db3c6d4b2ad45fbfda1553f6c (diff)
downloadguix-16a23d4ad27d3149a307e5fd1f3bebe81ee4dc3f.tar.gz
guix-16a23d4ad27d3149a307e5fd1f3bebe81ee4dc3f.zip
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").
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/search.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 9eb4039f84..367d7e6c6f 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -46,12 +46,12 @@
(inputs `(("zlib" ,zlib)
("util-linux" ,util-linux)))
(arguments
- `(#:phases (alist-cons-after
- 'unpack 'patch-remotetcp-harness
- (lambda _
- (substitute* "tests/harness/backendmanager_remotetcp.cc"
- (("/bin/sh") (which "bash"))))
- %standard-phases)))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-remotetcp-harness
+ (lambda _
+ (substitute* "tests/harness/backendmanager_remotetcp.cc"
+ (("/bin/sh") (which "sh"))))))))
(synopsis "Search Engine Library")
(description
"Xapian is a highly adaptable toolkit which allows developers to easily