summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-12-22 19:23:53 +0000
committerChristopher Baines <mail@cbaines.net>2017-12-22 19:23:53 +0000
commit3faa422d5fe9e2943f477b1deb2bf4d5a1aac92b (patch)
tree2529d0bc814892927edc1874b616fc1830b22e19
parent58087bdddcbe6abe4240dce8e6fc660e83abb4c7 (diff)
downloadguix-3faa422d5fe9e2943f477b1deb2bf4d5a1aac92b.tar.gz
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.
-rw-r--r--gnu/packages/databases.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0a52d3d923..755fe7a980 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1500,7 +1500,7 @@ organized in hash table, B+ tree, or fixed-length array.")
                 "0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:configure-flags '("--enable-lz4" "--enable-zlib")
+     '(#:configure-flags '("--enable-lz4" "--enable-zlib" "--enable-snappy")
        #:phases
        (modify-phases %standard-phases
          (add-before 'check 'disable-test/fops
@@ -1511,7 +1511,8 @@ organized in hash table, B+ tree, or fixed-length array.")
              #t)))))
     (inputs
      `(("lz4" ,lz4)
-       ("zlib" ,zlib)))
+       ("zlib" ,zlib)
+       ("snappy" ,snappy)))
     (home-page "http://source.wiredtiger.com/")
     (synopsis "NoSQL data engine")
     (description