gnu: Build wiredtiger with snappy support.

This is probably necessary to get the MongoDB package in Guix to successfully
use the Guix wiredtiger package, as MongoDB it uses wiredtiger with snappy by
default.

* gnu/packages/databases.scm (wiredtiger)[arguments]: Add --enable-snappy to
  #:configure-flags.
  [inputs]: Add snappy.
This commit is contained in:
Christopher Baines 2017-12-22 19:23:53 +00:00
parent 58087bdddc
commit 3faa422d5f
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 3 additions and 2 deletions

View File

@ -1500,7 +1500,7 @@ organized in hash table, B+ tree, or fixed-length array.")
"0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s")))) "0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '("--enable-lz4" "--enable-zlib") '(#:configure-flags '("--enable-lz4" "--enable-zlib" "--enable-snappy")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'disable-test/fops (add-before 'check 'disable-test/fops
@ -1511,7 +1511,8 @@ organized in hash table, B+ tree, or fixed-length array.")
#t))))) #t)))))
(inputs (inputs
`(("lz4" ,lz4) `(("lz4" ,lz4)
("zlib" ,zlib))) ("zlib" ,zlib)
("snappy" ,snappy)))
(home-page "http://source.wiredtiger.com/") (home-page "http://source.wiredtiger.com/")
(synopsis "NoSQL data engine") (synopsis "NoSQL data engine")
(description (description